The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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])
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |