This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello! I have a problem with this cumulative column, I dont know what im doing wrong, but the cumulative always show the result of "total dolar" and not the cumulative as I want.
the measure "Loan Balance" is
Solved! Go to Solution.
Hi, @sebastianharg
If you are referring to the monthly cumulative calculation, please change your formula as follows:
Cumulative Loan Balance =
CALCULATE (
[Loan Balance],
FILTER (
ALL ( TANGODB2 ),
( TANGODB2[FECHA_EMIS].[Ano] = MAX ( TANGODB2[FECHA_EMIS].[Ano] ) )
&& (
TANGODB2[FECHA_EMIS].[Mes] = MAX ( TANGODB2[FECHA_EMIS].[Mes] )
&& ( TANGODB2[FECHA_EMIS] <= MAX ( TANGODB2[FECHA_EMIS] ) )
)
)
)
Best Regards,
Community Support Team _ Eason
Any Ideas? thanks!
Hi, @sebastianharg
If you are referring to the monthly cumulative calculation, please change your formula as follows:
Cumulative Loan Balance =
CALCULATE (
[Loan Balance],
FILTER (
ALL ( TANGODB2 ),
( TANGODB2[FECHA_EMIS].[Ano] = MAX ( TANGODB2[FECHA_EMIS].[Ano] ) )
&& (
TANGODB2[FECHA_EMIS].[Mes] = MAX ( TANGODB2[FECHA_EMIS].[Mes] )
&& ( TANGODB2[FECHA_EMIS] <= MAX ( TANGODB2[FECHA_EMIS] ) )
)
)
)
Best Regards,
Community Support Team _ Eason
Hey @sebastianharg ,
your problem is the filter context.
Each line can only see the date of the current line.
What date frame do you want to summarize? From the beginning of the year until the chosen date? From the beginning of the data until the chosen date?
If it's from the beginning of the year, then use the TOTALYTD function in the CALCULATE statement.
If it's from the beginning of all records, then use DATESINBETWEEN with FIRSTDATE(ALL(myDateTable[Date])) in the CALCULATE statement.
@selimovd thanks for your help, i would like to cumulate something dinamic depending on the range of that I selected for example in this case, from the month of june , cumulative from 1st of june to 30 of june.
is this possible?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 20 | |
| 19 | |
| 19 |