Forum Discussion
Expression Refers to Multiple Columns Error when FILTER put inside Switch
- Anonymous2 years ago
Hi Anonymous ,
Dax function can include a calculated table in the measure, but Measure outputs a single value, your dax function outputs a table or a whole column of values, so that's why you get that error.
You can consider using CALCULATETABLE or you can consider using MAXX() similar aggregation function + Filter() function to combine the output of the value you want, you can try to explain what kind of result you want to output in the measure, share sample data and sample output in table format? Or sample pbix after removing sensitive data. We can better understand what the problem is and help you.
This is the related document, you can view this content:
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Dax function can include a calculated table in the measure, but Measure outputs a single value, your dax function outputs a table or a whole column of values, so that's why you get that error.
You can consider using CALCULATETABLE or you can consider using MAXX() similar aggregation function + Filter() function to combine the output of the value you want, you can try to explain what kind of result you want to output in the measure, share sample data and sample output in table format? Or sample pbix after removing sensitive data. We can better understand what the problem is and help you.
This is the related document, you can view this content:
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Solved: The expression refers to multiple columns. Multipl... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.