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
digitizerau
Frequent Visitor

How to Create a Simple Cumulative Line Chart

Hi All

I am new to the forum and PowerBI in all honesty

I am wanting to create a simple cumulative line chart for my data

I have a table of 6 records (as below) captured over several months. Some months with more than one record

I want to show a chart x-axis months and y-axis count of the records captured and watch it grow.

I have no idea where to start.

 

digitizerau_0-1657677287957.png

What I am hoping to achieve is something like I created in Excel below to dummy up the look

 

digitizerau_1-1657677331386.png

Thanks in advance

 

 

 

1 ACCEPTED SOLUTION

Hi @digitizerau , Apologises a step I didnt mention is you'll need to sort the month year column by monthyearno. When you click on Month Year a Column tools bar should appear at the top:

 

johncolley_0-1657684889042.png

You can sort the axis of the visual by selecting the more options button in the top right of the visual. 

 

If this answer solves your problem please mark it as a solution!

View solution in original post

4 REPLIES 4
johncolley
Solution Sage
Solution Sage

Hi @digitizerau ,

 

Please see the sample pbix here: https://www.dropbox.com/s/i8htrv2v6zij8r2/cumaltive%20total.pbix?dl=0 

 

Basic approach for this is:

- Create a date table to use as the x-axis

- Create a measure to cumaltive count ID's to use as the y-axis

johncolley_0-1657681590515.png

 

 

If this answer solves your problem please mark it as a solution!

Hi @johncolley 

Many thanks for the prompt reply.

It looks like I am nearly there following your example.

I replicated the columns and measures and as you can see the chart is getting there.

I am not sure why the chart is reversed though and the x-axis out of order.

digitizerau_0-1657684016689.png

I created the 'Date' table ('Date Limited' in my case)

 

digitizerau_1-1657684059355.png

 

And created the measures in the ID (LL List in my case) table

 

digitizerau_2-1657684154031.png

 

Any thoughts on the chart order by chance?

I have compared mine to your example and it all seems in order.

Of note, I am in Australia and the date format is typically dd-mm-yy, or variations of that syntax. Not sure if that is a factor

Cheers again

Hi @digitizerau , Apologises a step I didnt mention is you'll need to sort the month year column by monthyearno. When you click on Month Year a Column tools bar should appear at the top:

 

johncolley_0-1657684889042.png

You can sort the axis of the visual by selecting the more options button in the top right of the visual. 

 

If this answer solves your problem please mark it as a solution!

@johncolley 

You are a scholar and a gentleman.

It works!!!!

Thanks so much fo ryou rkind guidance

digitizerau_0-1657685503698.png

 

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.