The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Try this calculated column
CALCULATE (
SUM ( 'table'[rolling total] ),
FILTER (
ALL ( 'table' ),
'table'[month] >= 7
&& 'table'[month] <= EARLIER ( 'table'[month] )
)
)
Proud to be a Super User!
Hi @bibhu059_123 ,
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 @bibhu059_123 ,
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
Try this calculated column
CALCULATE (
SUM ( 'table'[rolling total] ),
FILTER (
ALL ( 'table' ),
'table'[month] >= 7
&& 'table'[month] <= EARLIER ( 'table'[month] )
)
)
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
108 | |
78 | |
77 | |
46 | |
39 |
User | Count |
---|---|
137 | |
108 | |
64 | |
64 | |
53 |