Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello fellow friends
I want to do a cumulative on stages column and do a chart similar in the screenshot below
can someone please show how I can do this on a dax
I would really appreciate please
Solved! Go to Solution.
Hi @Maz_0102 ,
Please try code as below to create a measure.
Cumulative Count =
CALCULATE(COUNT('Table'[Site]),FILTER(ALL('Table'),'Table'[Stages]<=MAX('Table'[Stages])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Maz_0102 ,
Please try code as below to create a measure.
Cumulative Count =
CALCULATE(COUNT('Table'[Site]),FILTER(ALL('Table'),'Table'[Stages]<=MAX('Table'[Stages])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a forth column in the table, CountValue, and it has the # (1,2,3) from the Stage column - Stage 1 = 1, Stage 2 = 2, Stage 3 = 3. Then, create a DAX measure to SUM the new column rather than a count.
Stage Cummulative = SUM('TableName'[CountValue])
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |