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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Team,
How to calculate below highlighted calculations,
Thanks,
Chandrasekhar
Solved! Go to Solution.
Hello @sekhar438
Give this a try.
RunningSum = VAR CurrentDate = SELECTEDVALUE ( 'Table'[date] ) RETURN SUM ( 'Table'[D.qty] ) - CALCULATE( SUM ( 'Table'[r.qty] ), ALL ( 'Table' ), 'Table'[date] <= CurrentDate )
Hello @sekhar438
Give this a try.
RunningSum = VAR CurrentDate = SELECTEDVALUE ( 'Table'[date] ) RETURN SUM ( 'Table'[D.qty] ) - CALCULATE( SUM ( 'Table'[r.qty] ), ALL ( 'Table' ), 'Table'[date] <= CurrentDate )