Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi I want to display the cummilative sum only from August months onward but not able to acheive this .
In Aug , Final FG STK Total should be 221.362 +(-69.45) ( in current it is showing only -69.45) In Sep , Final FG STK Total should be 221.362 +(-69.45) + 10.55 (in current it is showing only 10.55) & so on
Stuck in getting those values.
Solved! Go to Solution.
Hi @Anonymous
Try this calculated column
CALCULATE (
SUM ( 'table'[rolling total] ),
FILTER (
ALL ( 'table' ),
'table'[month] >= 7
&& 'table'[month] <= EARLIER ( 'table'[month] )
)
)
Hi @Anonymous ,
You could try below code:-
Cumulative_Total =
VAR CurrentMonth = [Month]
var _result =
CALCULATE(
SUM('Table (3)'[Rolling_total]),
FILTER(
ALL('Table (3)'),
[Month] <= CurrentMonth && [Month] >= 7
)
)
RETURN IF('Table (3)'[Month] >=8,_result)
Output:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous ,
You could try below code:-
Cumulative_Total =
VAR CurrentMonth = [Month]
var _result =
CALCULATE(
SUM('Table (3)'[Rolling_total]),
FILTER(
ALL('Table (3)'),
[Month] <= CurrentMonth && [Month] >= 7
)
)
RETURN IF('Table (3)'[Month] >=8,_result)
Output:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous
Try this calculated column
CALCULATE (
SUM ( 'table'[rolling total] ),
FILTER (
ALL ( 'table' ),
'table'[month] >= 7
&& 'table'[month] <= EARLIER ( 'table'[month] )
)
)
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |