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

Map Highlight bubbles

Hi !

I am trying to see some information in the Map visual tool. Im relating to tables because I have the info in 2 different tables, One for the Installbase and one for the Headcounts. At the same time I have 2 slicers, One that select the information from Installbase(IB) and is called "Channel" has 2 selection in the slicer: Direct/Indirect. The second slicer contains information from the headcount(HC) like the region. You can see in the IMG better:

Untitled.png

The issue is that when I tried to select something from the Channel slicer, the blue bubbles dissapear because this slicer is like filtering the information that I have just selected. What I want is tha instead of only seeing the info that I selected, I want to add or see in different colors what we are selecting. I want to see all the info despite what im selecting.

Thanks!

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @Anonymous 

You can hightlight your bubbles by adding measure into data color.

I build a sample table:

1.png

Build two slicer tables without building relationships between them and this table.

Channel = VALUES('Table'[Channel])
Role = VALUES('Table'[One])

Measure:

HighlightColor = 
VAR _SelChannel =
    SELECTEDVALUE ( Channel[Channel] )
VAR _SelRole =
    SELECTEDVALUE ( Role[One] )
RETURN
    IF (
        ISFILTERED ( Channel[Channel] ) && ISFILTERED ( Role[One] )
            && _SelRole = MAX ( 'Table'[One] )
            && _SelChannel = MAX ( 'Table'[Channel] ),
        1,
        IF (
            ISFILTERED ( Channel[Channel] )
                && _SelChannel = MAX ( 'Table'[Channel] )
                && _SelRole = BLANK (),
            1,
            IF (
                ISFILTERED ( Role[One] )
                    && _SelRole = MAX ( 'Table'[One] )
                    && _SelChannel = BLANK (),
                1,
                0
            )
        )
    )

 Add this measure into the  data color .

2.png

Result is as below, bubbles in map will show black by default and will be highlighted in blue when you select slicer.

3.png

You can download the pbix file from this link: Map Highlight bubbles

 

Best Regards,

Rico Zhou

 

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
v-rzhou-msft
Community Support
Community Support

Hi @Anonymous 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

v-rzhou-msft
Community Support
Community Support

Hi @Anonymous 

You can hightlight your bubbles by adding measure into data color.

I build a sample table:

1.png

Build two slicer tables without building relationships between them and this table.

Channel = VALUES('Table'[Channel])
Role = VALUES('Table'[One])

Measure:

HighlightColor = 
VAR _SelChannel =
    SELECTEDVALUE ( Channel[Channel] )
VAR _SelRole =
    SELECTEDVALUE ( Role[One] )
RETURN
    IF (
        ISFILTERED ( Channel[Channel] ) && ISFILTERED ( Role[One] )
            && _SelRole = MAX ( 'Table'[One] )
            && _SelChannel = MAX ( 'Table'[Channel] ),
        1,
        IF (
            ISFILTERED ( Channel[Channel] )
                && _SelChannel = MAX ( 'Table'[Channel] )
                && _SelRole = BLANK (),
            1,
            IF (
                ISFILTERED ( Role[One] )
                    && _SelRole = MAX ( 'Table'[One] )
                    && _SelChannel = BLANK (),
                1,
                0
            )
        )
    )

 Add this measure into the  data color .

2.png

Result is as below, bubbles in map will show black by default and will be highlighted in blue when you select slicer.

3.png

You can download the pbix file from this link: Map Highlight bubbles

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

I cant download you powerbi file ! 

beside that didnt work when i selelct the year per exemple it shown me only the filtred bubbles on the map ! 

 

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.

Top Solution Authors
Top Kudoed Authors