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
gfiori
New Member

BING MAP GEOLOCATION - Measure as legend

Hello Everyone!

I’ve been working with the bing map visual and I’m having the following issue:

I have this two tables, one that shows all CLIENTS and the other table shows SALES. They are related by “clinet_id”, *..1 in a one way going direction (from CLIENTS to SALES).

I am currently showing the geolocation of all the clients in the map (the CLIENTS table has a "location" field); but I want to show the clients that have sales (active clientes) in one color, and the ones that do not have sales (inactive clients) in a different color.

To acomplish this task, the first thing I did is creating a measure in the CLIENTS table, called ACTIVITY = IF ( ISBLANK ( SUM ( SALES[total] ) ) ; "0" ; "1" ).

The measure works as expected. However, I cannot drag this measure field into the “LEGEND” space of the map, where It’s supposed to be in order to separate my clients into different colors by activity.

Now I'm guessing the map does not support a measure as a legend field, so I've tried to put the measure into a field, but the field's behaviour is not equal to the measures' (it does not change dinamically as it should)

Any ideas to solve this inconvenient I'm having would be nice! 😃CLIENTS= VW_BI_ClientesVentas - SALES=VW_BI_ComprobantesVentasCLIENTS= VW_BI_ClientesVentas - SALES=VW_BI_ComprobantesVentasCLIENTS= VW_BI_ClientesVentas - SALES=VW_BI_ComprobantesVentasCLIENTS= VW_BI_ClientesVentas - SALES=VW_BI_ComprobantesVentas

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @gfiori ,

AFAIK, power bi visuals not support use measure on axis and legend fields. Measures are are expressions, they not able to use as category to summarize or group records.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.