Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
@MattScruggs ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Tag start date end date standing
| 1 | 10/1/2020 | 10/5/2020 | complete |
| 2 | 10/2/2020 | 10/6/2020 | complete |
| 3 | 10/3/2020 | 10/7/2020 | complete |
| 4 | 10/4/2020 | 10/8/2020 | complete |
| 5 | 10/5/2020 | standing | |
| 6 | 10/6/2020 | standing | |
| 7 | 11/5/2020 | 11/6/2020 | complete |
| 8 | 11/6/2020 | 11/7/2020 | complete |
| 9 | 11/7/2020 | 11/9/2020 | complete |
| 10 | 11/8/2020 | standing |
This would be a simplified version of the data.
Calendar table is separate and is the range of dates from earlest to latest in the previous table (10/1/2020 to 11/9/2020, whether the latest date is in the start or end column.)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |