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

Filtering multiple tables with multiple common filters

Hello!

I'm struggling with using common filters for multiple tables.

 

I'm currently working with 3 tables, they all have the following format:

 

IdDateLocation
1D1A
2D2A
3D3B
4D4B
5D5C
6D6D

 

 

I need to make multiple visualizations with options to filter via Location and Date

 

My 1st attempt was to create a composite key of Date + Location, attached to a Location table that I'll use for the Location filtering, and a Date table that I'll use for Date Filtering. Something like this:

powerbiarchi.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

However the filter is not working as it should, and many records are missing in my visualizations.

 

My 2nd attempt was to join the 3 tables, since the IDs and locations are the same for all 3 tables, with 3 distinct dates for each pair:

 

IdDate1Date2Date3Location
1D1D2D3a
2D4D5D6b
3D7D8D9a
4D10D11D12b
5D13D14D15c

 

But that only allows me to use date filtering on one of the 3 dates, and I need to filter the 3 of them independently. I can only have one active relationship with my Date table at all times, and that is getting in the way.

 

 

Every date associated with an ID means a different phase in my context, and my visualizations need to count the number of IDs on that each phase on each period.

 

How can I do this?

 

Thank you for the help.

1 REPLY 1
parry2k
Super User
Super User

@Anonymous not sure why you have [date location] bridge table in between, just connect all your 3 tables directly wiht location and date, and filtering location and date will filter all these 3 tables.



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.

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.