The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a table called Data with many columns. I have setup the dashboard so far so that changes on the slicers in this way:
1. Slicer1: Variant will choose a column from Data corresponding to variant
2. Slicer2: Group, Measure_Name - allows the user to select which of the particular numeric columns in the Data table to display on the graphs. I did this using a bit of an ugly work-around with SWITCH.
3. Slicer3: Attribute, Value, Country - will show the particular regions (countries)
So far my line graph responds nicely to changes in any of the slicers and the shape map responds to changes in the regions. See below.
My raw Data table looks like this:
What im trying to do is change the Legend of the Shape Map so that depending on my selections in each of the 3 slicers I will get a table of |Countries (corresponding to slicer 3)|Average of Metric (corresponding to slicer 2)| which I hope I will be able to get appropriate shading in the Shape Map.
I've tried the DAX code below to create the table but dont seem to be getting anywhere - really any help with be HUGELY appreciated please as Im really new to Power BI.
@AnzBhy , Are you using field Parameters? because when you use a field parameter, It will change the title when change the measure or axis slicer
A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Hi, appreciate you getting back to me. I am able to get the slicer of the measures as below:
The above gives me this slicer which allows me to select the column I want to use in the line graph via:
I then use SWITCH to select what values to display in the line graph as below:
Measure_Selections table into the legends field of the map and when I try to drag the Measure_Selections table with the field to which the measures slicer refers I get the following error "an't determine a relationship between two or more fields shape map"
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
79 | |
72 | |
48 | |
39 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
57 |