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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.