Forum Discussion
IsaacAsher
Helper I
7 years agoDAX Days between two dates in different tables with filter
I have a table I'm trying to summarize: Master table ID Worked 1 1/1/2018 2 3/4/2017 3 5/2/2015 4 6/7/2018 .... by using my specialized Calendar table: Date ...
- 7 years ago
I believe you want something along the lines of:
Measure = VAR __worked = MAX('Master'[Worked]) RETURN COUNTX(FILTER(ALL('Calendar'),[PostingDay] = TRUE() && [Date]<=TODAY() && [Date]>=__worked),[Date])
Ashish_Mathur
Super User
7 years agoHi,
Could you share the exact expected layout and result.