Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Cumulative line chart based on text

I am just going to post this again... 

 

How do I make this into a cumulative line chart? These "Intern status" should just be added together even though they are different categories. 

 

lavmads_0-1667375191124.png

 

Best regards,

Lisa 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

I don´t know if I undestood well, but you can try with this measure

mangaus1111_0-1667979943274.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
HoangHugo
Solution Specialist
Solution Specialist

Hi

measure

cumulative_count =

 var date_select = SELECTEDVALUE([Date])

 var count_status = count([Intern Status])

 return CALCULATE(count_status, [date]<=date_select)

 

then, create a line chart, put [date] in X axis and measure in Y axis

Anonymous
Not applicable

Hi @HoangHugo 

Thanks, but I think something is missing because I did the measure but it does not add them up as you can see. I would like it to be cumuative_count = 2 under 25/07, 3 under 06/09 etc. 

lavmads_0-1667386156840.png

 

Yes, becasue you put "Intern Status" into matrix, so it will be a filter. To see right result, remove this column

Anonymous
Not applicable

@HoangHugo 

It still does not work. 

lavmads_0-1667978957488.png

 

Hi @Anonymous ,

I don´t know if I undestood well, but you can try with this measure

mangaus1111_0-1667979943274.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.