The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Imagine if I have the following tabe:
Date WorkPercentage
_____________________________________________________
April,1 30
May,1 29
June,1 31
July, 1 10
_____________________________________________________
And I want to add an aggregatied column called CumulativeWorkPercenage that sum the AmountOfDoneWorkPercentage row by row and the table will be look like:
Date WorkPercentage CumulativeWorkPercenage
________________________________________________________________________________
April,1 30 30
May,1 29 59
June,1 31 90
July, 1 10 100
_________________________________________________________________________________
Solved! Go to Solution.
Hi @SalemWafiHttech,
Based on your requirement, you could create a measure with the formula below to achieve that.
Measure = CALCULATE ( SUM ( 'Table1'[WorkPercentage] ), FILTER ( ALL ( 'Table1' ), 'Table1'[Date] <= MAX ( 'Table1'[Date] ) ) )
Here is the output,
Best Regards,
Cherry
Hi @SalemWafiHttech,
Based on your requirement, you could create a measure with the formula below to achieve that.
Measure = CALCULATE ( SUM ( 'Table1'[WorkPercentage] ), FILTER ( ALL ( 'Table1' ), 'Table1'[Date] <= MAX ( 'Table1'[Date] ) ) )
Here is the output,
Best Regards,
Cherry
User | Count |
---|---|
70 | |
67 | |
62 | |
48 | |
28 |
User | Count |
---|---|
113 | |
78 | |
64 | |
55 | |
43 |