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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
jhsimb
Frequent Visitor

Grouping Measures

Hi. I need help with the following, each filter selection that show me two measures (or more):

 

jhsimb_0-1688404581918.png

jhsimb_1-1688404748282.png

 

It is possible that?

Thanks.

 

 

 

1 ACCEPTED SOLUTION
jhsimb
Frequent Visitor

Hi. Thanks but the complex answer help me to find a simple and perfect solution for my problem.

Thanks again for your time and guidance.

 

View solution in original post

5 REPLIES 5
jhsimb
Frequent Visitor

Hi. Thanks but the complex answer help me to find a simple and perfect solution for my problem.

Thanks again for your time and guidance.

 

 

Cool, glad you got it sorted.

Was your solution something that you can share here that might help future users solve the same problem?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




BA_Pete
Super User
Super User

Hi @jhsimb ,

 

You want to use the Field Parameters function in Power BI Desktop.

Make sure your version of PBI Desktop is at least May 22 release or later then check out this guide:

 

https://endjin.com/blog/2022/06/how-to-dynamically-switch-between-measures-in-power-bi-visuals-with-... 

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Thanks but it only works with one measure. I need that each filter selection show two or more measures at the same time in the matrix not just one.

 

Ah, ok. I think there's two options:

 

-1- Just put all measures into the parameter table and let your end users elect all the measures they want to display.

 

-2- Create a parameter table for each different measure type (Totals, Parcials etc.), relate the different tables on the [ParameterName Order] columns, and apply all parameter tables to your visual.

 

For example, I've created my first parameter table as 'Actual' (you might do 'Parcials', for example), and added all the 'Actual' measures that I want:

BA_Pete_0-1688485903840.png

 

Then I do the same, IN THE SAME ORDER, for the forecast values:

BA_Pete_1-1688486025663.png

 

Now, I relate these two tables in the model, like this:

BA_Pete_2-1688486145619.png

 

Now I just throw both parameter tables into my visual and use the Actual parameter table for the slicer:

BA_Pete_5-1688486597921.png

 

BA_Pete_6-1688486628286.png

 

You'll want to do some fiddling to get the names/labels how you want them, but I think this is the best/only(?) way to do this.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors