The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a dataset that has ticket numbers with multiple iterations for each ticket and each iteration has multiple stages.
Time duration in minutes is captured at each stage and each iteration.
I have a business rule saying if the ticket is stuck at any iteration for more than 24 hours (Including all stages) then its flagged as 'Non Compliance' and under 24 hours then 'Complaince'.
So in the below example ticket , there are 8 iterations and I have calculated the total number of minutes at each iteration using the measure SLA Minutes.
Created another measure SLA Result to check if that iteration is in Compliance or Non Complaince.
Iterations = Count of distinct Iterations
Solved! Go to Solution.
Is [SLA Result] a calculated column or a measure?
If it is a measure, then you need to work with Summarize functions. Let me know and I can help you here, but need more details in what you created.
Is [SLA Result] a calculated column or a measure?
If it is a measure, then you need to work with Summarize functions. Let me know and I can help you here, but need more details in what you created.
Yes SLA Result is a Measure.
Could you please Let me know how i can achive this? also let me know what details you need.
Should be something like the following...
Measure =
VAR TotalIterations = SUMX(Table, [Iterations])
VAR TotalIterationsNonCompliance = SUMX(SUMMARIZE(Table,TicketNumber,"NewMeasure",COUNTAX(Filter(Table, Minutes>=1400),Ticketnumber),[NewMeasure])
RETURN DIVIDE(TotalIterationsNonCompliance ,TotalIterations ,0)
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |