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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Domenick
Helper IV
Helper IV

Using map to show/filter relevant data in nearby visuals (leveraging the highlight feature)

Hi all,

 

I want to leverage PowerBI's highlight feature to create a report so that clicking a point on a map will filter visuals to the right of the map. This is obviously a default feature ("highlight"), however, I'm not sure what to display when nothing is selected. Certain visuals make sense as an aggregate but others (like text fields) do not. So for those, it would be best to either show nothing or show something like "Select a location." Any ideas?

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@Domenick,

 

You could try a measure like this:

 

Example Measure =
IF (
    ISCROSSFILTERED ( DimTable[Location] ),
    <Your measure>,
    "Select a location"
)

 

When nothing is selected on the map (i.e. no location has been clicked), the measure will return the text "Select a location". Otherwise, it will return the measure you want to display.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@Domenick,

 

You could try a measure like this:

 

Example Measure =
IF (
    ISCROSSFILTERED ( DimTable[Location] ),
    <Your measure>,
    "Select a location"
)

 

When nothing is selected on the map (i.e. no location has been clicked), the measure will return the text "Select a location". Otherwise, it will return the measure you want to display.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




This is amazing, thank you!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors