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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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