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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.