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

Tooltip Reports - Is there a way to apply two filters to the same card? State vs Region data on Map

Hi All,

 

I have a Tooltip Report for a US map. I want to show data for the state, as well as the overall region data. Right now, only one filter is being applied.

 

 

Power BI - State and Region Count.jpg

 

Is there a way to distinguish the state and region data?

 

Thanks for any information!

3 REPLIES 3
parry2k
Super User
Super User

@Anonymous you can surely achieve this by creating new measure for Region which ignores the State filter. If you can share sample data, I can get you a measure to achieve this.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hey @parry2k,

 

I was working on this more today. This measure does *almost* I want to achieve

 

 

Region_Count = CALCULATE(DISTINCTCOUNT('BID FILE'[PROBILL]),ALLEXCEPT('BID FILE','BID FILE'[Destination State Regions],'BID FILE'[CONSIGNEECOMPANY_CLEAN]))

 

 

I issue I run into with it is that while it does calculate the regional data, it only shows the total for the "customers" in the state I'm hovering over.

 

For example, say I have a list of 10 customers with regional data. If say a state's top customers are Customer 2, Customer 6, Customer 10, then the regional data will only show those customers. The data is correct; I just want the top in that region, no matter the customer in the state.

 

I appreciate your help on this!

Anonymous
Not applicable

Hi, @parry2k . Thanks for replying!

 

This is a rough idea of the data.

 

I want the count of unique IDs by category. So, if I hover over Pennsylvania, I will see:

 

Pennsylvania

Category 1 (2)

Category 2 (2)

 

Region

Category 1 (3)

Category 2 (3)

 

StateRegionCategoryID
PennsylvaniaNortheastCategory 11236
PennsylvaniaNortheastCategory 11547
PennsylvaniaNortheastCategory 28456
PennsylvaniaNortheastCategory 29874
New YorkNortheastCategory 17412
New YorkNortheastCategory 28521

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.