Forum Discussion

kskumar's avatar
kskumar
Frequent Visitor
2 years ago

Cumulative sum required based on two measures - help required

Dear all,

 

I have 3 tables and a DateTable and need to get the Cumulative sales for the entire period (inception to till date). However, I have to use a slicer to filter the data for the current year and that filtered data for current year should be considered for cumulative.

Table 1: CostCtrlNew

Table2: Prog Proj Master

Table3: ProgBudget Mly

 

Requirement: I need to choose Cumulative sum from CostCtrlNew table. 

 

Relationship:

 

Expected Cumulative SUM as shown below.

Measure 1: To consider all records for previous year (prior to current fiscal year) - I have a measure already

Measure 2: To consider ONLY records for current year (fiscal year = 2023-2024) and for the chosen month (based on a slicer from DateTable) - I have a measure already

 

I need a cumulative sum of both measures (Measure1 & Measure2) and show Fiscal Year wise.

 

I have enclosed the PBIX and source file for reference. Can SOMEONE please help on this to get cumulative sum for my requirement.

 

Kindly let me know if you need any further information.

 

https://drive.google.com/file/d/1ne5xfl4Bceqa7DL3pey1PxOE2vnofAkW/view?usp=drive_link

 

https://docs.google.com/spreadsheets/d/1y6ViaF7ZJwNFy7CMgwZ457i0yHJAudzO5mS7pRFah4I/edit?usp=drive_link

 

3 Replies