Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello brilliant community,
I need help to figure out how can I display measure values as per slicer selections: Here is my case-
'Category' is the report slicer. If 'A' & 'B' are selected then measure 'Score of A& B' should display calculated values but 'Score of A&C' should display blank or zero. Similarly If 'A' & 'C' are selected then measure 'Score of A&C' should display calculated values but 'Score of A&B' should display blank or zero.
Category | |
A | |
B | |
C | |
Score of A & B | Score of A & C |
5 | 8 |
6 | 9 |
7 | 0 |
23 | 10 |
Thanks in advance.
Meena
Solved! Go to Solution.
Hi @Anonymous ,
To create a measure as below.
Measure = var _sele = CONCATENATEX(category,category[Category],"&") return if(_sele="A&B",[Score of A & B],if(_sele = "A&C",[Score of A & C]))
Regards,
Frank
Hi @Anonymous ,
To create a measure as below.
Measure = var _sele = CONCATENATEX(category,category[Category],"&") return if(_sele="A&B",[Score of A & B],if(_sele = "A&C",[Score of A & C]))
Regards,
Frank
Thanks for the link @Nishantjain . It works if only one value is selected on the slicer, my requirement is multiple values selection on the slicer. Any suggestions?
Thanks,
Meena
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
100 | |
66 | |
49 | |
39 | |
32 |
User | Count |
---|---|
166 | |
117 | |
61 | |
58 | |
42 |