Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I would like to identify a trend of the backlog of service tickets
The measure would count the number of tickets that arrived on or before the "date" and have a closed date on or after the date...
Example on last monday there were 20 open tickets, 15 were open prior to that day and 5 were opened on that day.
Wow, you don't even need a variation of Open Tickets, you need Open Tickets. It's even called Open Tickets!! 🙂
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364#M147
Tickets Open =
VAR tmpTickets = ADDCOLUMNS('service Ticket',"Effective Date",IF(ISBLANK([DateCompleted]),TODAY(),[DateCompleted]))
VAR tmpTable =
SELECTCOLUMNS(
FILTER(
GENERATE(
tmpTickets,
'Date'
),
[Date] >= [DateCreated] &&
[Date] <= [Effective Date]
),
"ID",'service Ticket'[TicketID],
"Date",[Date]
)
VAR tmpTable1 = GROUPBY(tmpTable,[ID],"Count",COUNTX(CURRENTGROUP(),[Date]))
RETURN COUNTROWS(tmpTable1)
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.