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.
Solved! Go to Solution.
@Samarth-Borade
Please refer to attached sample file with the proposed solution
RevCum_Revenue =
VAR CurrentRevenue =
SUM ( 'Table'[Revenu] )
VAR T1 =
SELECTCOLUMNS (
ALLSELECTED ( 'Table'[Customer Cod] ),
"@Revenue", CALCULATE ( SUM ( 'Table'[Revenu] ) )
)
VAR T2 =
FILTER ( T1, [@Revenue] >= CurrentRevenue )
RETURN
SUMX ( T2, [@Revenue] )
Any leads?
@Samarth-Borade
Please refer to attached sample file with the proposed solution
RevCum_Revenue =
VAR CurrentRevenue =
SUM ( 'Table'[Revenu] )
VAR T1 =
SELECTCOLUMNS (
ALLSELECTED ( 'Table'[Customer Cod] ),
"@Revenue", CALCULATE ( SUM ( 'Table'[Revenu] ) )
)
VAR T2 =
FILTER ( T1, [@Revenue] >= CurrentRevenue )
RETURN
SUMX ( T2, [@Revenue] )
User | Count |
---|---|
20 | |
17 | |
15 | |
11 | |
7 |
User | Count |
---|---|
28 | |
27 | |
13 | |
12 | |
12 |