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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
b244293
Frequent Visitor

Dynamically changing the Legend in Bing map Power BI

Hi,

I have created the table named  "dummyperson" as shown below,

NameLatitudeLongitudeisEligibleisActive
A44.57-73.52EligibleActive
B44.57-73.52EligibleActive
C44.57-73.52EligibleActive
D44.57-73.52EligibleActive
E44.57-73.52InEligibleInactive
F44.57-73.52InEligibleInactive
G42.22-87.99EligibleActive
H42.22-87.99InEligibleActive
I42.22-87.99InEligibleInactive

 

Based on the table I can create the map view (isEligible & isActive) as shown below,

m1.png

 

But, Here, I need a single map. when selecting on the slicer control the map legend should be changed. the slicer table is below,

 

m2.png

 

I need the report as shown below,

 

m3.png

 

The intension of the report is based on the slicer selection, the bing map should be changed. Can you help me how to change the measure value on "Legend" property dynamically ?. 

 

Thanks,

Bala.

 

 

 

 

1 REPLY 1
VSrujana
Frequent Visitor

You can unpivot the columns IsActive and IsEligible . Once done , please use the attribute column in the slicer and value in the legend of the map. Remove the title of the legend in Map and instead you can create a dynamic title to describe the visual i.e , Count by IsActive or Count by IsEligible

NameAttributeValue
AIsEligibleEligible
AIsEligibleInEligible
BIsActiveActive
BIsActiveInActive

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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