Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hey, Trying to create a measure that gets me customer percent of revenue excluding 1 customer.
The current measure works, but need help filtering the total revenue(minus 1 specific customer).
Solved! Go to Solution.
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] = 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev)
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] <> 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev)
Thanks, this is what i was looking for, changed your "=" to "<>"
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] = 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev)
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] <> 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev)
Thanks, this is what i was looking for, changed your "=" to "<>"
Hi,
Share some data to work with and also show the expected result.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
87 | |
84 | |
67 | |
49 |
User | Count |
---|---|
141 | |
114 | |
111 | |
59 | |
59 |