Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 is easy to do with a simple if statement, but the problem Im having is that I want to be able to filter it at the visual level by any date, selected by the user. I have [ActualBuildDate] and [ActualDismantleDate] Where [ActualBuildDate] will aways have a date, and [ActualDismantleDate] will alway be after [ActualBuildDate] or blank (Still standing). If I select January 2020, I want to see every item that was standing during January 2020. I have a Calender table set up using this code Date Filter = DATESBETWEEN( 'Date'[Date], MIN('1_Overview'[ActualBuildDate]), IF(MAX('1_Overview'[ActualDismantleDate]) > MAX('1_Overview'[ActualBuildDate]), MAX('1_Overview'[ActualDismantleDate]), MAX('1_Overview'[ActualBuildDate]) )) I have set a filter with a date heiarchy using this. but filtering by the dates on it do not return the proper items.
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
@MattScruggs , not very clear. If you want to same date range to be filtered on both dates. You can join them to the same date table. Active/inactive joins will be created. And you can use join on choice using use relation.
https://www.youtube.com/watch?v=e6Y-l_JtCq4
If case you need different date ranges then you can have a date range on these two dates or you can create two date tables. One joins with each date.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |