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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bob57
Helper IV
Helper IV

Date filter does not propagate through data model.

I find myself once again leaning on this community, for which I am grateful.

The "Weekly Status" table (shown below) performs as expected, when I select a week start date from the Date filter, but the date filter is not propagating through the model and has no affect on the "Details" table. I need the "Details" table to show entries for only the week selected by the Date filter. The data model appears below the tables.There seems to be no relationship between 'Weekly Status'[Week Starting] and the "Dates" table. Here is a link to the .pbix: https://1drv.ms/u/s!Agkx6hQs0NiX2yFJoBn23MoOEibS?e=xwSnZM. I hope I have provided adequate information for your understanding.

Thank you,

Bob

 

 

ex01.JPG

1 ACCEPTED SOLUTION

Hi @bob57 ,

 

As there are 2 many-1 relationships between table Project,Time sheets and Dates,it is difficult to identify the relationships among the 3 tables:

v-kelly-msft_0-1607914805335.png

 

That is why when you filter data among the 3 tables,you see nothing changed.

You need to create a measure as below:

_log date = 
var _table=CALCULATETABLE(VALUES(Dates[Date]),FILTER(ALL('Dates'),'Dates'[Week Start Date]=SELECTEDVALUE('Weekly Status'[Week Starting])))
Return
IF(MAX('Time Sheets'[Logged Date]) in _table,MAX('Time Sheets'[Logged Date]),BLANK())

Finally you will see:

v-kelly-msft_1-1607914882384.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
bob57
Helper IV
Helper IV

This did not appear in the original post. Sorry.

ex00.JPG

Hi @bob57 ,

 

As there are 2 many-1 relationships between table Project,Time sheets and Dates,it is difficult to identify the relationships among the 3 tables:

v-kelly-msft_0-1607914805335.png

 

That is why when you filter data among the 3 tables,you see nothing changed.

You need to create a measure as below:

_log date = 
var _table=CALCULATETABLE(VALUES(Dates[Date]),FILTER(ALL('Dates'),'Dates'[Week Start Date]=SELECTEDVALUE('Weekly Status'[Week Starting])))
Return
IF(MAX('Time Sheets'[Logged Date]) in _table,MAX('Time Sheets'[Logged Date]),BLANK())

Finally you will see:

v-kelly-msft_1-1607914882384.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Kelly,

This worked for me and I learned something new about relationships. Thank you for your time and effort.

Bob

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.