Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
i have dataset from Azure DevOps (about team work activity), based exist data i alredy create measure for calculate Cycle time (sum duration in certain state) but if see on graph vizulization that data isn't fully display real situation, becase may be values of Cycle Time, which can be outside of values (example, very big values of Cycle Time in certain day, but them avaraged on the graph). Therefore i want display on vizulization also median (and min/max values). I can't calcultate median for this task. I try to describe my problem.
1. meassure for calculate Cycle time is calculate aggregate values
For median calculate I should get result of all values Cycle Time (per period), no can't undestand how to do it.
Solved! Go to Solution.
Hi @Anonymous ,
What's your expected output? Put all cycle time in one column and put median/max/min in one column? You can try the following measure:
Cyclte time (period_) = CONCATENATEX('Table','Table'[Cycle Time],"+")
median/max/min = MEDIAN('Table'[Cycle Time])&"/"&MAX('Table'[Cycle Time])&"/"&MIN('Table'[Cycle Time])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @Anonymous ,
What's your expected output? Put all cycle time in one column and put median/max/min in one column? You can try the following measure:
Cyclte time (period_) = CONCATENATEX('Table','Table'[Cycle Time],"+")
median/max/min = MEDIAN('Table'[Cycle Time])&"/"&MAX('Table'[Cycle Time])&"/"&MIN('Table'[Cycle Time])
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @Anonymous ,
Would you please inform us more detailed information( your
data and expected output (by OneDrive for Business)) if possible? Then we will help you more correctly. And you can also refer to https://docs.microsoft.com/en-us/azure/devops/report/powerbi/sample-boards-leadcycletime?view=azure-devops&tabs=powerbi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
I have mesure for calculare Cycle Time is:
Cycle Time_total - calulate measure for week (all values)
Closed Items - count of total closed items for week
Cycle Time Avg = Cycle Time_total / Closed items from week
but i also want display other Cycle Time values (min, max, median)
I try explain my case. When we are calculate Cyclte Time, we are different values (12,67,7,98...) very different values (wide spread), because Cycle Time Avg - makes it very average, we cannot see jumps and bursts
I want addtiional calc Cycle time for each values (not aggegate):
Cyclte time (period_) CT1+CT2...CTn
median/max/min = CT1...CTn
I see the only solution: calculating the measure for each unique work items and placing this value in a new table (it should look something like this):
date (week num) Work Item Id Cyclte Time
40 546 12
40 1265 78
You can use the iterator functions for this. Those are the ones that end in X. For example,
Avg Cycle Time = AVERAGEX(Table, Table[Cycle Time])
Median CT = MEDIANX(Table, Table[Cycle Time])
Min CT = MINX(Table, Table[Cycle Time])
Max CT = MAXX(Table, Table[Cycle Time])
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
it's seems not correct work.
I created new measure which use AVERAGEX and measure for calculate Cycle Time
Cycle Time_averagex =
calculate(View Name,[Cyclte Time])
CT_alt2 - calc by Total Cyclte Time / closed items
ALT_average = calc with AVERAGEX
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |