Forum Discussion
jones_lilly
4 years agoFrequent Visitor
Combine 2 tables based on datetime in one table falling between start/end datetime columns in other
Hi, The following Table A has a start and end DateTime column (Event Frame Start Time & Event Frame End Time): I then have the following Table B: Is it possible to create a new tab...
- 4 years ago
New DAX Query=GENERATE(TableA,FILTER(SUMMARISE(TableB,TableB[Date_Time],TableB[Category]),TableB[Date_Time]>=TableA[Event Frame Start Time]&&TableB[Date_Time]<=TableA[Event Frame End Time]))
wdx223_Daniel
4 years agoCommunity Champion
New DAX Query=GENERATE(TableA,FILTER(SUMMARISE(TableB,TableB[Date_Time],TableB[Category]),TableB[Date_Time]>=TableA[Event Frame Start Time]&&TableB[Date_Time]<=TableA[Event Frame End Time]))