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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bralenj
Regular Visitor

Filter two visuals from two tables with one date filter

Goal: Create a page that displays data from two tables, but filters by one common date. 

 

Here are the two main tables. Each visual is connected to a separate table, Reviews and Misc. The main active relationship is between the Coaches so we can see each coach individually. This is working as you can see both tables are filtered to Angelo. 

tables.JPG

 

Both tables have a similar date, Invoice date. I found documentation on creating a custom measure using a USERELATIONSHIP function, but that didn't seem to work since I want to show more data than just the Pay Amount. 

 

I found a potential solution using a Calendar table, which I created. It seemed like as long as the Cross Filter Direction is set to single, this would work. However, when managing the relationships I still get an error saying I need to make all relationships Single, but they are.  

 

relationships.JPG

 

All relationships are set to single, but I still can't make the relationship from the Date table to the Misc table active. What am I missing?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hello @bralenj ,

 

then I would suggest to work your model as a star schema.

 

check the concept of star schema data modeling 

https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

5 REPLIES 5
Idrissshatila
Super User
Super User

Hello @bralenj ,

 

the thing with the relation between calendar table and the misc table isn't active is that the combined view is filtering the combined misc and the combined view is being filtered by calendar table.

 

if you don't need the relation between the combined view and rhe combined misc table you could remove it and then you could make the relationship between the calendar table and the combined misc table active and it will work.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




My challenge with this is I also want the relationship between the coaches. If I remove that relationship in favor of the date one, then I would need two filters for coach, one from each table. So it would create the same issue, just for a different field.  

Hello @bralenj ,

 

then I would suggest to work your model as a star schema.

 

check the concept of star schema data modeling 

https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




star schema did the trick. thank you

AmiraBedh
Super User
Super User

Can you please share your pbix file ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.