Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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.
Solved! Go to 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
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @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
Proud to be a Super User!
Check out my blog: Power BI em Portuguêscould 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
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
94 | |
61 | |
56 | |
49 | |
41 |