Forum Discussion
call two different measure parameter in DAX
- Anonymous2 years ago
Hi Anonymous ,
I suggest you to create one parameter with all measure names and then add a Group column.
Group = IF(Parameter[Parameter] in {"M1","M2","M3"},"Group1","Group2")Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DallasBaba may be I have not explained it correctly. Basically I have created Field parameter on front end. Parameter1 contains 3 measures M1 (sum(M1)), M2 and M3 respectively. when I select Group1, I want to show values of M1, M2 & M3 in the report. So report would look like below
| Dimension1 | M1 | M2 | M3 |
| A | 10 | 20 | 30 |
Similarly, if I select Group2, In same table visual, I would like to see values of measures M4 & M5.
Hi Anonymous ,
I suggest you to create one parameter with all measure names and then add a Group column.
Group =
IF(Parameter[Parameter] in {"M1","M2","M3"},"Group1","Group2")
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.