Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bunta
Frequent Visitor

Create a filter/dimension for measures

Hi,

 

I have a number of measures in my workbook, 10, which are laid out in the order Code, Date, Measure 1, Measure 2, ... Measure 9, Measure 10 where code is the location and date is the date the date the measures was taken. They are all taken on the same date and represent different things. What i would like to do is a create a dimension for the measures that can be used in a filter to change the measure that is displayed in a table. The reason being that when it gets published and the user goes to the Power BI weblink they can't see the fields so can't change what is shown and I want to give them that ability.

 

Is there a way to get this done in Power BI without reformatting the data?

 

Thanks

1 ACCEPTED SOLUTION

Could this technique work for you? http://exceleratorbi.com.au/measures-on-rows-here-is-how-i-did-it/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

2 REPLIES 2

Could this technique work for you? http://exceleratorbi.com.au/measures-on-rows-here-is-how-i-did-it/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Hi Matt,

 

Thanks for this it worked for me. I had to tweak the switch formula thoguh to be sum('Table_name'[measure 1]) as it didn't recognise it with out the calucation and would only use measure I had already calculated. Apart that small tweak it worked perfectly.

 

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.