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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.