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
Hi all,
I have what I thought would be an easy request turn into me ripping my hair out (or what's left of it) over the past two days, I could use some help.
The ask is to provide counts of open reqs (open positions) as far back as we have data. The model is as simple as it gets, just a table with req data and a date table. Within the req table there is ID, create_date, on_hold_date, off_hold_date, and closed_date. What I'm trying to do is get a count of open reqs by month for the past X years. For a req to be considered "open" for a given month, it needs to have:
I tried a few different measures and I couldn't get anything to work. Any help would be greatly appreciated.
Try
Open reqs =
VAR ReferenceDate =
MAX ( 'Date'[Date] )
VAR Result =
CALCULATE (
COUNTROWS ( 'Reqs' ),
REMOVEFILTERS ( 'Date' ),
'Reqs'[Open date] <= ReferenceDate,
'Reqs'[Closed date] > ReferenceDate
|| ISBLANK ( 'Reqs'[Closed date] ),
'Reqs'[On hold date] > ReferenceDate
|| ISBLANK ( 'Reqs'[On hold date] )
|| 'Reqs'[Off hold date] <= ReferenceDate
)
RETURN
Result
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |