Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
We do a fair amount of aggregation prior to pulling it into power bi.
The data table looks something along the lines of
ReportDate | Pivot Field | Pivot field | UnitCount | TotalTime |
7/15/2021 | b | a | 23 | 455 |
7/15/2021 | a | a | 12 | 2148 |
7/16/2021 | s | d | 12 | 21 |
7/17/2021 | d | d | 4 | 54 |
7/17/2021 | d | s | 4 | 46
|
I have a Measure to report on the average
Avg Minutes = SUM([TotalTime]) / SUM([UnitCount])
and a few percentiles
80th Percentile Avg Time = PERCENTILEX.EXC(myTable, [Avg Minutes], .80)
80th PercentileTime = PERCENTILE.EXC(myTable[TotalTime], 0.8)
However I need the percentiles to leverage the unit counts, rather than, I think it's using the row count?
Can this be done directly utilizing these methods?
Hi @Tdawg90 ,
Can you describe your expected result through your sample data.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
93 | |
83 | |
77 | |
72 | |
65 |
User | Count |
---|---|
114 | |
101 | |
96 | |
65 | |
60 |