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.
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 |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |