Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
68 | |
53 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |