Forum Discussion
Anonymous
2 years agoNot applicable
SELECTED VALUE Filters
Hi All, I have the below syntax. The 'Dimension'[Dimension Fields] is a field parameter. I want to filter based on the field dimension and return the calculation from the fields. SWITCH TOP10 ...
rajendraongole1
2 years agoSuper User
Hi Anonymous
Ensure that the 'Dimension' table and the measures referenced in the SWITCH function are properly defined in your Power BI data model.
This DAX expression checks the selected value of the 'Dimension Fields' column and returns the corresponding calculation based on the selected dimension.
Anonymous
2 years agoNot applicable
rajendraongole1 Thank you..I checked the field mappings are correct
However, not sure why I see the composite key issue. Thanks