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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
melvin9900
Frequent Visitor

Filter Relative time data - not related tables in a matrix.

Hello,

   I need assistance in filtering the data without a direct relationship between tables. We have three tables:

  1. Sales
  2. Time (which contains calendar data)
  3. Relative Time (loaded daily with relative dates and descriptions such as 'Current Month', 'Next Month', 'Prior Week', 'Current Week', 'Rolling 12', 'Prior Rolling 12', and 'Current Year').

I need to develop a report that shows the Sales amount and Sales quantity for each sales representative based on multiple relative time selections made in the slicer. It should look something like this.

melvin9900_2-1730304409602.png

I set up the relationships between the tables as described below, but the filter isn't working, and I can't use the Sales and RelativeTime fields in the matrix because they aren't directly related.

I can't create a relationship between Sales (date) and RelativeTime (date) because of a many-to-many relationship. To solve this, I added a Time table with distinct dates and linked both Sales and RelativeTime to it. Unfortunately, this hasn't resolved the issue.

 

melvin9900_0-1730302811217.png

 

Sample Data :

melvin9900_1-1730303174321.png

 

Please help me figure out how to filter and display the data effectively under these conditions. Any recommendations are appreciated

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

This is one of the few occassions when you want to use a bidirectional filter. Make the relationship between Time and Relative Time bidirectional, so that when you place a filter on Relative Time that filter will reach the Time table, and ultimately Sales.

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

This is one of the few occassions when you want to use a bidirectional filter. Make the relationship between Time and Relative Time bidirectional, so that when you place a filter on Relative Time that filter will reach the Time table, and ultimately Sales.

Thank you. It worked.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors