Forum Discussion
MattScruggs
6 years agoFrequent Visitor
Item falling between 2 dates filter by calendar date heiarchy
I have a data set with a few thousand line items. In this, there are 2 columns, a start date, and an end date. I am looking for a way to determine if an item was standing during a certain date. This ...
MattScruggs
5 years agoFrequent Visitor
Build DateDemo Date
| 1/22/2020 | |
| 1/23/2020 | |
| 1/24/2020 | 2/20/2020 |
| 1/25/2020 | 2/21/2020 |
| 1/26/2020 | 2/22/2020 |
| 1/27/2020 | 2/23/2020 |
| 1/28/2020 | 2/24/2020 |
| 1/29/2020 | 2/25/2020 |
My dates look like this.
This is the formula for my Calender table
Calendar = CALENDAR(MIN('1_Overview'[ActualBuildDate]),
IF(
MAX('1_Overview'[ActualBuildDate]) > MAX('1_Overview'[ActualDismantleDate]),
MAX('1_Overview'[ActualBuildDate]),
MAX('1_Overview'[ActualDismantleDate])
)
)