Forum Discussion
Calculate IDs regarding multiple date intervals condition
- 1 year ago
Hi , Thank you for reaching out to the Microsoft Community Forum.
Based on your scenario, we created two DAX measures to count unique products that are active in both Element1 and Element2 during a given period. One gives the total per month and the other shows the count per day, based on overlapping date intervals. This accurately captures products active in both intervals, detecting overlaps across time ranges. Everything is visualized cleanly using the Calendar table without needing direct relationships.
Please check the attached .pbix file for your reference.
Thank you.
- 1 year ago
Works like a charm
Thanks a lot
Hi , Thank you for reaching out to the Microsoft Community Forum.
Based on your scenario, we created two DAX measures to count unique products that are active in both Element1 and Element2 during a given period. One gives the total per month and the other shows the count per day, based on overlapping date intervals. This accurately captures products active in both intervals, detecting overlaps across time ranges. Everything is visualized cleanly using the Calendar table without needing direct relationships.
Please check the attached .pbix file for your reference.
Thank you.
- KossFrance1 year agoFrequent Visitor
Works like a charm
Thanks a lot