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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Snagalapur
Helper IV
Helper IV

Martix columns based on User selections

Hi All,

 

Please suggest calculation to build toggle/option (using parameters) where i can control matrix columns display based on selection

EX: below matrix table having different measures, when we click on Values it should display Actual,Budge and Forecast columns only.

 

Snagalapur_0-1750932358552.png

 

1 ACCEPTED SOLUTION

Hi @Snagalapur ,

 

In the field parameter table you just need to add an additional column with the classification of each one:

Fied Parameter = {
    ("Measure 1", NAMEOF('Table'[Measure 1]), 0, "Values"),
    ("Measure 2", NAMEOF('Table'[Measure 2]), 0, "Values"),
    ("Measure 3", NAMEOF('Table'[Measure 3]), 0, "Values"),
    ("Measure 4", NAMEOF('Table'[Measure 4]), 0, "Quantity"),
    ("Measure 5", NAMEOF('Table'[Measure 5]), 0, "Quantity"),
    ("Measure 6", NAMEOF('Table'[Measure 6]), 0, "Quantity")
}

 

This will create a new column called Value4 but you can rename it just double clicking the name, then you can use it on a slicer to make the filtering of each of the measure presented.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Hi @Snagalapur ,

 

For this you should use Field Parameters that allows you to control the measures to be presented on the selection.

 

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

You can add a column to the table that is created to make a slicer with Values / Quantity so you can have it controlled over the measures you need.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



could you please suggest how to group these columns into value and Quantity . thank you

Hi @Snagalapur ,

 

In the field parameter table you just need to add an additional column with the classification of each one:

Fied Parameter = {
    ("Measure 1", NAMEOF('Table'[Measure 1]), 0, "Values"),
    ("Measure 2", NAMEOF('Table'[Measure 2]), 0, "Values"),
    ("Measure 3", NAMEOF('Table'[Measure 3]), 0, "Values"),
    ("Measure 4", NAMEOF('Table'[Measure 4]), 0, "Quantity"),
    ("Measure 5", NAMEOF('Table'[Measure 5]), 0, "Quantity"),
    ("Measure 6", NAMEOF('Table'[Measure 6]), 0, "Quantity")
}

 

This will create a new column called Value4 but you can rename it just double clicking the name, then you can use it on a slicer to make the filtering of each of the measure presented.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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