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
sinanalmac
Resolver I
Resolver I

Why does"Running Total Mesaure" calculate with the same month value of the previous year?

Hi  All I have a very interseting problem. Please Help me 
 I created a running total  formule . it woks fine when I select All previous month. In my data  october values are not compelted yet.   Few days remanining to complete.
When I selecet  Octorber it calculated 2020 october's value too.  

 

Here is september's screenshots. Evertbihg is ok

sinanalmac_0-1635157893275.png

here is October Screen shot. it is added previous year's octotober total 

sinanalmac_1-1635158308870.png

 

 

 here is  my formula 

Running Total1 = CAlculate(SUM(Sheet2[TURNOVER]), 
FILTER(
    ALL(DateTable),
DateTable[DATE]<=MAX(DateTable[DATE])
),VALUES(DateTable[Monthnumber])


)

 You can Find my file  here  if you want to look at it  https://www.dropbox.com/s/g7hf3m43aa2ufzq/runningtotal.pbix?dl=0

 

I couldn't find any solution please help me

 

Best regards
Sinan 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@sinanalmac Try this:

 

Running Total1 = CAlculate(SUM(Sheet2[TURNOVER]), 
FILTER(
    ALL(DateTable),
DateTable[DATE]<=MAX(DateTable[DATE])
),VALUES(DateTable[Monthnumber]),VALUES(DateTable[Year])
)

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@sinanalmac Try this:

 

Running Total1 = CAlculate(SUM(Sheet2[TURNOVER]), 
FILTER(
    ALL(DateTable),
DateTable[DATE]<=MAX(DateTable[DATE])
),VALUES(DateTable[Monthnumber]),VALUES(DateTable[Year])
)

 

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.