Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello everyone,
I am looking for a function that sums up reverse the values - from today to past.
I have a table like that:
Article | Value | Date |
01 | 500 | 01.01.2019 |
01 | 250 | 02.01.2019 |
01 | 500 | 03.01.2019 |
In the end the result should be something like that:
Date | Value |
01.01.2019 | 1250 |
02.01.2019 | 750 |
03.01.2019 | 500 |
How would you do that?
This function is not working:
=VAR currentDate = 'Calendar'[Date]
RETURN
CALCULATE (
SUM ( 'Item'[Value] );
FILTER ( ALL ( 'Calendar' ); 'Calendar'[Date]>= currentDate )
)
Best Regards
Joshua
Hi @joshua1990
try
Measure = calculate(SUM('Calendar'[Value]);FILTER(ALL('Calendar');'Calendar'[Date]>=selectedvalue('Calendar'[Date])))
do not hesitate to give a kudo to useful posts and mark solutions as solution
Thanks!
is there any chance to do this without SELECTEDVALUE?
Solution works well, thank you - noticed that it doesn't matter if I have MAX or MIN in place of 'selectedvalue', can't figure out why - any clarification would be helpful...
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
3 | |
3 | |
3 |
User | Count |
---|---|
11 | |
10 | |
8 | |
8 | |
7 |