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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
MattAllington
Community Champion
Community Champion

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.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

2 REPLIES 2
MattAllington
Community Champion
Community Champion

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.
I will not give you bad advice, even if you unknowingly ask for it.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors