Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 |
---|---|
84 | |
74 | |
63 | |
51 | |
45 |
User | Count |
---|---|
101 | |
43 | |
41 | |
39 | |
36 |