cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Aggregating data to use as legend for filled map

Hi there 

 

I am having trouble creating a filled map for aggregated data. I effectively have a table of unique cases with postcode data. If I use the Map visualisation, it creates an appropriate bubble map (ie size of bubble based on number of cases in the postcode), but I want to use the filled map to colour postocdes based on the number of cases (eg <5 cases is green, 5-9 cases is yellow etc). I was able to create the categories and counts using measures, however measures can only be added as a tooltip to the filled map. I want to add this measure as a legend. Is there something simple I am missing?

I'm happy to share the pbix file, but it does not allow me to drag and drop here

 

Thanks

 

 

1 ACCEPTED SOLUTION
Super User III
Super User III

You can use OneDrive or similar to share sample file.

Try using the conditional formatting to change the colour of the filled map. You can do this based on field value using HEX colour codes within your dataset or with rules.

See step 5 here and come back with what specific questions you still have, as I imagine there may still be some: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-filled-maps-choropleths#cre...

Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 


If you found this post helpful, please give Kudos.


I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 


www.excelwithallison.com

View solution in original post

3 REPLIES 3
Super User III
Super User III

You can use OneDrive or similar to share sample file.

Try using the conditional formatting to change the colour of the filled map. You can do this based on field value using HEX colour codes within your dataset or with rules.

See step 5 here and come back with what specific questions you still have, as I imagine there may still be some: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-filled-maps-choropleths#cre...

Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 


If you found this post helpful, please give Kudos.


I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 


www.excelwithallison.com

View solution in original post

Thank you @AllisonKennedy 

 

Simple and effective solution.

You're welcome! Glad it was a simple fix. 🙂 


Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved. 


If you found this post helpful, please give Kudos.


I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query. 


www.excelwithallison.com

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors