March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I made a DAX formula for camulative calculations.
See dax formula
It shows all incoming and outgoing transactions. In the other column the transactions calculates calmulatively due to the DAX formula I made. I made a table with date, incoming and outgoing transactions, transaction_ID and camulative calculation. The problem is when you jump from April 1 to April 2, the camulative calculation starts over again. Does somebody know the solution to this problem?
See example.
Date | Transaction_id | Transactions | Camulative_calculation |
01-april | 1 | 50 | 50 |
01-april | 2 | -80 | -30 |
01-april | 3 | 210 | 180 |
02-april | 4 | 80 | 80 |
02-april | 5 | 50 | 130 |
02-april | 6 | 100 | 230 |
Solved! Go to Solution.
@Anonymous
Please try
Cumulatieve Berekening =
CALCULATE (
SUM ( 'Grootboekmutaties huidig jaar'[Saldo] ),
FILTER (
ALLSELECTED ( 'Grootboekmutaties huidig jaar'[Omschrijving] ),
'Grootboekmutaties huidig jaar'[Omschrijving]
<= MAX ( 'Grootboekmutaties huidig jaar'[Omschrijving] )
),
ALL ( 'Table'[Date] )
)
Hi @Anonymous
Date is from which table? What happens if you remove it from the visual?
When i remove the Date column from the visual it works, but i need to include the date column.
@Anonymous
Please try
Cumulatieve Berekening =
CALCULATE (
SUM ( 'Grootboekmutaties huidig jaar'[Saldo] ),
FILTER (
ALLSELECTED ( 'Grootboekmutaties huidig jaar'[Omschrijving] ),
'Grootboekmutaties huidig jaar'[Omschrijving]
<= MAX ( 'Grootboekmutaties huidig jaar'[Omschrijving] )
),
ALL ( 'Table'[Date] )
)
Thank you, this one works
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
21 | |
16 | |
14 |