cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
naoyixue1
Post Patron
Post Patron

Calculate monthly YTG running total AND always actualize monthly YTD value in the same column

Hey there,

 

I'm working on one report which requests to calculate the monthly YTG running total based on the actualized YTD value as below. That YTG value will keep update since we will actualize YTD data month by month. (see below fomula) 

 

C = last month leftover (B-A) + this month B - this month A

 

Here I marked the actual value in orange and calculated value in yellow on both Jun table and Jul table. 

 

By the end of Jun, Jul C is calculated.  Jul C = Actualized Jun C + Jul B - Jul A = 7+12-13 = 6

By the end of Jul, Jul C is actualized as 8.

same as the following months value.

 

 (A, B and C are from the different tables, so I can apply summarize dax to combine A, B and actualized C into one table). SO, how should i calculate in BI? In order to make sure that YTD C value is always actualized month by month and YTG is calculated based on the latest month's actual value. Thanks! 

 

naoyixue1_3-1669845010229.png

 

 

 

 

3 REPLIES 3
naoyixue1
Post Patron
Post Patron

Any thoughts? Thanks!

naoyixue1
Post Patron
Post Patron

@v-luwang-msft My expected results is the table same as above. (but it can be calculated each month with the new month actualized number) For example, when I actualize Jun C value, then Jul thru Dec C value will be calculated automatically. After we move to Aug (at that time, Jul C value will be actualized, then Aug thru Dec Value C will re-calculated based on the Jul actualized data). 

v-luwang-msft
Community Support
Community Support

Hi @naoyixue1 ,

What you expect result output according the two table?

 

 

Best Regards

Lucien

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors