Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all
I have the following table:
The pareto should sum the column % of dedicated time to look cumulative like this:
The measure used is:
Pareto =
VAR demand = [Non Duplicate Hours Process/Activity 3]
RETURN
SUMX(
FILTER(
SUMMARIZE(ALLSELECTED(Template),'Template'[Merged.4],Template[Facet],
"Percentage", [Non Duplicate Hours Process/Activity 3]),
[Percentage] >= demand),
[Percentage]
)
Where Merged.4 is the combination of Function & Tier 1: Process & Tier 2: Activity
How can I get the percentages correct?
Thanks.
Solved! Go to Solution.
Hi @o59393 ,
You should create index column in power query. Then try formula like below:
pareto =
VAR cur_ = 'Table'[Name]
VAR cur_index = 'Table'[Index]
RETURN
SUMX (
FILTER ( ALL ( 'Table' ), 'Table'[Name] = cur_ && 'Table'[Index] <= cur_index ),
[TotalPercentage]
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I have solved a similar problem in the attached PBI file.
Hope this helps.
Hi @o59393 ,
You should create index column in power query. Then try formula like below:
pareto =
VAR cur_ = 'Table'[Name]
VAR cur_index = 'Table'[Index]
RETURN
SUMX (
FILTER ( ALL ( 'Table' ), 'Table'[Name] = cur_ && 'Table'[Index] <= cur_index ),
[TotalPercentage]
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
96 | |
85 | |
77 | |
66 | |
63 |
User | Count |
---|---|
110 | |
95 | |
95 | |
64 | |
59 |