Running Total & Cumulative % by DAX

srehman

Board Regular
Joined
Jan 4, 2020
Messages
210
Office Version
  1. 2016
Platform
  1. Windows
Hi Team,

I have calculated all fields by using pivot table, but i need to calculate again some fields by using DAX.

I have calculate by using DAX

% Month =DIVIDE([Total Order],CALCULATE([Total Order],ALLSELECTED(),VALUES('Pick Report'[Month])))

Now i have to calculate (Running or cumulative total of each month product) & ( Cumulative Percentages). ( Whatever product by each month as i did in pivot table) ---> Need in DAX

Each product have multiple order per day per date.

I am unable to attached snapshot exceeding limit it is only 321k data.


!Karcher Slotting New Model.xlsx
BCDEFGHIJKLMNOPQR
2Pivot table By Pivot table
3Pivot table MonthMonth
4Count of OrdersMonth12
5SKUs12345SKUsOrd Per Month % MontRunn Tot% CummOrd Per Month % MontRunn Tot% Cumm
61516316054544248876151631605452.58%5452.58%4422.19%4422.19%
762958900474273289218213629589004742.24%10194.83%2731.35%7153.55%
815131420488336310111199151314204882.31%15077.14%3361.67%10515.22%
969591300250248288247283695913002501.18%17578.32%2481.23%12996.45%
1026431470336166141238333264314703361.59%20939.91%1660.82%14657.27%
1126439080263240217293255264390802631.25%235611.16%2401.19%17058.46%
1213241130387303270169250132411303871.83%274312.99%3031.50%20089.97%
1316021240332287263217274160212403321.57%307514.56%2871.42%229511.39%
1416298490191173371260199162984901910.90%326615.47%1730.86%246812.25%
156295750025717718116572629575002571.22%352316.68%1770.88%264513.13%
16
17
Sheet4
 

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.

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

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