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...

 


______________


Check out my Data Stories Gallery Christmas Report: Are you on Santa's Naughty or Nice List?

______________


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...

 


______________


Check out my Data Stories Gallery Christmas Report: Are you on Santa's Naughty or Nice List?

______________


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. 🙂 

 


______________


Check out my Data Stories Gallery Christmas Report: Are you on Santa's Naughty or Nice List?

______________


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

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

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!.

Top Solution Authors
Top Kudoed Authors