The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi everyone!
I am facing problems with cumulative calculations. Ive tried multiple formulas from the internet, quick measure. Nothing seems to fix the trick. As showed below, I need to have cumulative of the last column 11000 + 9900 = 20900 (and so on) but i keep geting 19.800 in that field.
I assume its the problem with Calc Cost column but cannot find the solution.
Attaching pbix also
Thank you for your help!
Solved! Go to Solution.
@MrMP , Try like
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(all('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative
or
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(allselected('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative
@MrMP , Try like
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(all('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative
or
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(allselected('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative
User | Count |
---|---|
68 | |
63 | |
59 | |
55 | |
28 |
User | Count |
---|---|
183 | |
80 | |
62 | |
46 | |
38 |