Forum Discussion
Dragonfury
3 years agoFrequent Visitor
Using measure values within a parameter group to reference in an outside measure
I've created a new field parameter based on key measure values: The resulting selectable measures in the parameter look like this: Measure 1, Measure 2, Measure 3 Here is the parameter DAX...
- 3 years ago
You can't use SELECTEDVALUE with the name of the parameter as that column uses the groupby functionality to ensure you have to include the fields column as well.
To determine which parameter was selected you could either use SELECTEDVALUE with the sort order column, or add a new column to the fields parameter table and use SELECTEDVALUE with that.
johnt75
3 years agoSuper User
You can't use SELECTEDVALUE with the name of the parameter as that column uses the groupby functionality to ensure you have to include the fields column as well.
To determine which parameter was selected you could either use SELECTEDVALUE with the sort order column, or add a new column to the fields parameter table and use SELECTEDVALUE with that.