DAX formula for cumulative number/percent

Paul-NYS

New Member
Joined
Feb 6, 2012
Messages
23
Hi
I have a data set that I load into Excel 2010's Powerpivot window and then pivot over it in Excel. For pivoting, I have been using DAX functions to create various aggregations by creating Measures within the pivot table.

However, I do not know how to create a cumulative numbers using DAX functions. I have a column for 'exit month category' that contains a value

(6, 12, 18, 24, 30...) that represents the month (in six month increments) a child exited from the court system. I have a bar chart that displays the exit month category on the X-axis.

However, using DAX or some other Excel formula, does anyone know how I can get the record counts to aggregate as they move down the X-axis from left to right?

There doesn't seem to be a way to upload an example file, so I can't show you.

Paul
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Don't have English excel in front of me right now, but try right click at somewhere in column that you want to apply that change on in the pivot table, choose Value field properties (or something like that, 3:rd from the bottom). Then choose the tab Show value as and in the drop list choose Running total. Not a DAX solution but it should work for you.

//Caj
 
Upvote 0
Hi Cajste
You are right, that definitely works for a table. The problem is that I am using a bar chart and need it to display cumulatively here.

Paul
 
Upvote 0
Hi Caj
Thanks a lot. I actually had found the Javier blog yesterday, but could not get what he stated to work. This morning I was able to get it to cumulate, but have a different problem now though. If I can't resolve it, I will post it in a new thread.

Paul
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,611
Members
452,660
Latest member
Zatman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top