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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Filled map and slicer

Hi - I've a dataset (see below) that shows for each country the overall expenditure in several sector as well as the total sum.

On my Power Bi page, I've a filled map shaded by the total spent (sum of all sectors) and I would like to add a slicer with Sector 1, Sector 2, etc. in orded to have the map dynamically re-cloured based on the choice of the sector.

 

However, I suspect the slicer couldn't work (as sectors are spread in multiple columns) and I cannot find any visual alternatives that works with the map. 


Ideas? Thank you in advance!

 

power bi.PNG

1 ACCEPTED SOLUTION

Hi @Anonymous 

You may select Sector 1,2...6 and then click 'Unpivot columns' as below.Then you may use Attribute column as slicer.

1.png

Regards.

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Just to give a bit more of details: I've just done these four maps using as colour saturation the individual sector or their sum. However, I would prefer having just one map and a slicer by sector. Suggestions?

🙂 Thank you!Capture2.PNG

Hi @Anonymous 

You may select Sector 1,2...6 and then click 'Unpivot columns' as below.Then you may use Attribute column as slicer.

1.png

Regards.

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Amazing - I didn't know this! Yes it worked but I had to create another table just with the attributes and develop the relations.

Thanks

Giulia

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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