The "column not found" error in DAX usually occurs when a column reference is incorrect or when the column is not available in the context of the query. This is common in complex DAX queries with multiple relationships, especially when the column is from a different table that isn't properly related or accessible.
To resolve this:
-
Check if the column exists in the correct table.
-
Ensure that the relationships between tables are set correctly.
-
Use explicit table references (e.g., Table[Column]) when referencing columns from different tables.
-
Verify that all required tables are loaded in the model.
-
In some cases, ensure that the column is included in the context of the current query (for example, when using RELATED or LOOKUPVALUE).
By reviewing these steps, you can resolve the error and ensure proper column references in your DAX formulas.