Forum Discussion
Slicing date interval on weeks
- Anonymous3 years ago
I fixed it by turning every date in the interval from start to end into a new line in power query.
Following link provides a quide to do so.
https://apexinsights.net/blog/convert-date-range-to-list
Hi, Anonymous ;
You could create a flag measure.
flag =
IF(MAX('Table'[start date])<MAX('Date'[Date])&&MAX('Table'[end date])>=MIN('Date'[Date]),1)
Then apply it into filter.
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
Hey v-yalanwu-msft
Thanks for the answer!
Is there a way to make this work with a relation to the time table? It only works if I remove the relation, but that will ruin other visuals.- Anonymous3 years agoNot applicable
I fixed it by turning every date in the interval from start to end into a new line in power query.
Following link provides a quide to do so.
https://apexinsights.net/blog/convert-date-range-to-list