Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
can you help me please to add calculate column (cumul) that calculate the the cumulative budget total per client per month for each year as explained in the table
thank you
Solved! Go to Solution.
Hi,
This should ideally be solved with a measure but since you want a calculated column formula solution, write these calculated column formulas
Date = 1*("1/"&Data[Month]&"/"&Data[Year])RT = CALCULATE(SUM(Data[Budget]),FILTER(Data,Data[Client Number]=EARLIER(Data[Client Number])&&Data[Date]<=EARLIER(Data[Date])))
Hope this helps.
Maybe TOTALYTD() can halp in your case
Hi,
This should ideally be solved with a measure but since you want a calculated column formula solution, write these calculated column formulas
Date = 1*("1/"&Data[Month]&"/"&Data[Year])RT = CALCULATE(SUM(Data[Budget]),FILTER(Data,Data[Client Number]=EARLIER(Data[Client Number])&&Data[Date]<=EARLIER(Data[Date])))
Hope this helps.
Hi @Ashish_Mathur ,
Hope you are well.
I'm having the same problem, but using measure, not new columns, can you give a little advice? Thanks in advance.
Please use the DATESYTD function within the CALCULATE function.
Hi @Ashish_Mathur ,
Thank you so much for your attention.
I tried the below DAX, but it did not work.
AmountNet_MTD =
CALCULATE(
sum('Data'[credit_amount])
-sum('Data'[Deb_amount])
,DATESMTD('Data'[Accounting_Date])
)
I used the Calculate as below, which is ok, but the total is incorrect.
AmountNet_MTD2 =
CALCULATE(sum('Data'[credit_amount])-sum('Data'[Deb_amount])
,FILTER('Data'
,'Data'[Accounting_Date_YYYYMM]=EARLIER('Data'[Accounting_Date_YYYYMM])
&&'Data'[Accounting_Date]<=EARLIER('Data'[Accounting_Date])
&&'Data'[account_id]<=EARLIER('Data'[account_id])
&&'Data'[Items_L1]="L1"))
Thanks again.
Hi,
Share some data to work with, explain the question and show the expected result.
You are welcome.
@MagMag31 See if this helps:
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.