Join 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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I want to calculate the sum of two columns were the state of 'inprogess' is subtracted from 'done'
Solved! Go to Solution.
Hi @Anonymous !
Your calculation should be like this:
Story Points Start =
CALCULATE(
SUM( Burndown[StoryPoint] ),
Burndown[State] = "InProgress"
)
- CALCULATE(
SUM( Burndown[StoryPoint] ),
Burndown[State] = "Done"
)
Let me know if that helps!
Hi @Anonymous,
in the filter context, you can't get "In Progress" and "Done" status at the same time. You should calculate both separately and then subtract
Story Points Start =
Var a = CALCULATE(SUM( Burndown[StoryPoint] ),Burndown[State] = "InProgress")
Var b = CALCULATE(SUM( Burndown[StoryPoint] ),Burndown[State] = "Done")
return
a-b
Thanks,
Deevaker Goel
+91-9711975011
deevaker@hotmail.com
https://www.linkedin.com/in/deevakerg/
Hi @Anonymous !
Your calculation should be like this:
Story Points Start =
CALCULATE(
SUM( Burndown[StoryPoint] ),
Burndown[State] = "InProgress"
)
- CALCULATE(
SUM( Burndown[StoryPoint] ),
Burndown[State] = "Done"
)
Let me know if that helps!
Done shows as a negative value.. but I think we are on the right track! Maybe I'll separate the math
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!