Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hey Power BI Community,
I am currently working with a Matrix visual where I have placed a field parameter, which we can call Parameter1, in the values section. This parameter is created by combining five measures in a specific sequence.
I have received a new requirement to add a switch on the page with two options: Option1 and Option2. By default, Option1 is selected, and with this selection, Parameter1's output should be displayed on the matrix. If the end user selects Option2, I need to display a different field parameter, which we can call Parameter2, consisting of another set of five measures, on the same matrix visual.
I would like to achieve this without using Bookmarks. I have tried several solutions but have not had any success so far. Any assistance or suggestions would be greatly appreciated. Thank you in advance for your help
Solved! Go to Solution.
Hi @Pradeep160
Add all fields to the same field parameters table then add a calculated column that groups this parameter fields.
The calculated column and field parameters can be used together in the same slicer, but they should not be used together in a matrix or table because grouping will not be applied. Essentially, these parameter fields are still measures that have not been materialized in a disconnected table using a conditional measure (the old-school approach for switching between measures based on slicer selection). If you do, the result will be as below:
Hi @Pradeep160
Add all fields to the same field parameters table then add a calculated column that groups this parameter fields.
The calculated column and field parameters can be used together in the same slicer, but they should not be used together in a matrix or table because grouping will not be applied. Essentially, these parameter fields are still measures that have not been materialized in a disconnected table using a conditional measure (the old-school approach for switching between measures based on slicer selection). If you do, the result will be as below:
Hi @Pradeep160
If I understood you correctly you can use the grouping of field parameters like in the linked video :
https://www.youtube.com/watch?v=qlhcN3A0HNU
if not
Please share sample data (excluding sensitive information) in text format, along with your expected result and any relevant logic. For guidance, refer to
How to provide sample data in the Power BI Forum
If possible, upload a simplified .pbix file using this guide:
How to upload PBI in Community
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 72 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |