Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
i've been trying to calculate a cummulative total within a date range without any luck
im trying to acchive something similiar to this (las column)
| 1/31/2023 | 68,892.12 | Last Net Position | 181.75 | a | 68,892 | |
| 1/31/2023 | -68,492.00 | Last Net Position | 181.70 | a | 400 | |
| 1/31/2023 | -192.00 | Last Net Position | 180.95 | c | 208 | |
| 1/31/2023 | -160.00 | Last Net Position | 179.40 | b | 48 | |
| 1/31/2023 | -64.00 | Last Net Position | 177.90 | Z | -16 | |
| 1/31/2023 | 0.00 | Last Net Position | 177.40 | d | -16 |
thanks in advance
se les agradece toda su ayuda
Solved! Go to Solution.
Hi @YMiranda ,
Please have a try.
Add an index column in Power Query.
Then create a measure.
measure =
CALCULATE (
SUM ( table[pos] ),
FILTER (
ALL ( table ),
table[index] <= SELECTEDVALUE ( table[index] )
&& table[nom] = SELECTEDVALUE ( table[nom] )
)
)
Finally you can filter the pos column is not blank.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @YMiranda ,
Please have a try.
Add an index column in Power Query.
Then create a measure.
measure =
CALCULATE (
SUM ( table[pos] ),
FILTER (
ALL ( table ),
table[index] <= SELECTEDVALUE ( table[index] )
&& table[nom] = SELECTEDVALUE ( table[nom] )
)
)
Finally you can filter the pos column is not blank.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!