Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 )
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
90 | |
67 | |
62 | |
53 |