Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi experts,
I have 2 measure
1- Units
2-Volume
I want to show this on slicer if I click on units then dashboard's data could change basis on units and if i click on volume then change on volume.
Please help me on this.
@Greg_Deckler @amitchandak @Tanushree_Kapse
Thanks.
Solved! Go to Solution.
Hi @Anonymous ,
Try this measure:
Measure= IF(CONTAINS(Table[Slicer_column]) ="Units", Units, IF(CONTAINS(Table[Slicer_column])= "Volume", Volume))
I hope this helps.
If I answered your question, mark it as solution. Kudos are always appreciated.
Thanks!
Hi @Anonymous ,
Try this measure:
Measure= IF(CONTAINS(Table[Slicer_column]) ="Units", Units, IF(CONTAINS(Table[Slicer_column])= "Volume", Volume))
I hope this helps.
If I answered your question, mark it as solution. Kudos are always appreciated.
Thanks!
Thank you so much tanushree.
Actually I am too friendly with Tableau but facing issues in Power BI but now smoothly learning.
I have created two measure like Unit and Volume
I want to show this on slicer so user can easily can see basis on Units or Volums after clicking one by one.
@Anonymous ,
Create a new table... with two rows.
Units
Volume
Use this column in your slicer.
Then use this measure in your visuals in values.
Measure= IF(CONTAINS(Table[Slicer_column]) ="Units", Units, IF(CONTAINS(Table[Slicer_column])= "Volume", Volume))
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |