cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shankarshiva70
Helper III
Helper III

How to show multiple measure in single measure

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.

1 ACCEPTED SOLUTION
Tanushree_Kapse
Super User
Super User

Hi @shankarshiva70 ,

 

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!

 

 

 

 

 

View solution in original post

4 REPLIES 4
Tanushree_Kapse
Super User
Super User

Hi @shankarshiva70 ,

 

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.

 

@shankarshiva70 ,

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))

 

 

 

 

 

 

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors