Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have three different visuals on my page (table, bar chart and pie chart) and would like the dimensions on visual 2 & 3 (bar & pie chart) to change dynamically according to the slicer that determines visual 1 (table).
I have created a field parameter that contains Country, Department and Cost Type columns from 3 separate tables. This parameter drives the rows in visual 1 - the table.
If Country is selected on the slicer (Dimension parameter) then I want visual 2 to show Department on the y axis and cost type in visual 3.
I've created measures (drivers) that show the selected value for visual 1 and determine what dimension should be used for visual 2 and 3 ( switch function).
Now I am stuck. How do I get the dimension to switch on the axis? I can't put in a measure. Can I create a new parameter that uses the driver measures ?
Solved! Go to Solution.
Hi @PBI-Newbie
You have a couple of options:
I would probably go with Option 1 for simplicity of setup. You just need to ensure that there is an appropriate column in each table for the relationship. Columns can be added by modifying the field parameter table expressions or by adding calculated columns.
Are you able to get this working?
Please post back if needed, and if you have a shareable PBIX representing your model that would help.
Regards
Hi, @PBI-Newbie
Have you solved your problem yet? If not, can you provide example files and what output you expect?
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PBI-Newbie
You have a couple of options:
I would probably go with Option 1 for simplicity of setup. You just need to ensure that there is an appropriate column in each table for the relationship. Columns can be added by modifying the field parameter table expressions or by adding calculated columns.
Are you able to get this working?
Please post back if needed, and if you have a shareable PBIX representing your model that would help.
Regards
Thanks so much! The 3 parameter solution with relationship solution works like a charm!