Forum Discussion
Date filter does not propagate through data model.
- 5 years ago
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:
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:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
This did not appear in the original post. Sorry.
- v-kelly-msft5 years agoCommunity Support
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:
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:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
- bob575 years agoHelper IV
Kelly,
This worked for me and I learned something new about relationships. Thank you for your time and effort.
Bob