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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors