March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I have standard table that consists of tasks with columns below:
1. Task ID
2. Status
3. Create date
4. Due date
5. Close date
Based on other user's topic here, I have manage to create mix of measures that are calculating Nr. of Open tickets by date (see below measures). For this I needed to create copy of Tasks KPI table (1st is connected to date table by Close date, and 2nd is connected by Create date).
Measure_ClosedCount = IF(ISBLANK(COUNT('cdata_FACT_Tasks KPI'[ClosedTime])), 0, COUNT('cdata_FACT_Tasks KPI'[ClosedTime]))
Measure_OpenedCount = IF(ISBLANK(COUNT('cdata_FACT_Tasks KPI - Copy'[Id])), 0, COUNT('cdata_FACT_Tasks KPI - Copy'[Id]))
Measure_ClosedSUM = SUMX('Date table', [Measure_ClosedCount])
Measure_OpenedSum = SUMX('Date table',[Measure_OpenedCount])
Measure_PendingCount = [Measure_OpenedSum] - [Measure_ClosedSUM]
Measure_OpenTasksHistory =
CALCULATE (
SUMX ( 'Date table', [Measure_PendingCount] ),
FILTER ( ALL ( 'Date table'[Date] ), 'Date table'[Date] <= MAX ( 'Date table'[Date] ) )
)
Now, I would like to calculate the Nr. of Open Overdue tickets by date and exclude tickets in status "Canceled".
Open Overdue means that ticket was not closed (close time is blank) or was closed after due date.
Perhaps, we can adjust the existing measures but I am not that profficient in DAX so any help is much appreciated!
Thank you
Ivan
@IvanS See if this helps: Open Tickets - Microsoft Power BI Community
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |