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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
aaronmartin1651
New Member

Sales comparison between dates not updating

1.JPG

2.jpg3.jpg

I have two tables generated by a MySQL query.  They are identical queries except for the date selected (yesterday's date and one year ago yesterday).  I transform the time column to group by hour so that I get hourly totals.  Then I linked that to a table that converts the 0-23 hour format to 12 hour format.  I also have one of the table linked to another table that converts the numerical department number to a readable format.  

 

 

 

 

 

 

 

 

 

 


My problem is that when I view the data and select various departments, only the data from the table that is linked to the department descriptions changes the other data stays the same.  I tried linking both tables to the Department table but it linked as a dotted line and did not seem to make any difference.  What am I missing?  How can I link the totals (black line) to adjust when the departments are selected?

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @aaronmartin1651

 

I suggest you change the Cross Filter Direction for all your relationships to Single (currently they are all set to Both with the <> visible on each relationship).

 

Then you should be able to create Active relationships between each of your fact tables to WFdata departments and Hour, and use those two tables for filtering.

 

I can't see any need to have bi-directional relationships.

 

By having all your relationships filtering both directions, you were ending up with a loop around the tables which isn't allowed, so Power BI was forcing one relationship to be inactive (dotted line).


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

2 REPLIES 2
OwenAuger
Super User
Super User

Hi @aaronmartin1651

 

I suggest you change the Cross Filter Direction for all your relationships to Single (currently they are all set to Both with the <> visible on each relationship).

 

Then you should be able to create Active relationships between each of your fact tables to WFdata departments and Hour, and use those two tables for filtering.

 

I can't see any need to have bi-directional relationships.

 

By having all your relationships filtering both directions, you were ending up with a loop around the tables which isn't allowed, so Power BI was forcing one relationship to be inactive (dotted line).


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Thank you that did the trick!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors