cancel
Showing results for
Did you mean: Frequent Visitor

Percent of Revenue excluding one customer

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).

% Revenue =
VAR TotRev= CALCULATE(SUM('Table'[Revenue]),ALL('Table'[Customer List]))
Return
Divide(SUM('Table'[Revenue]),TotRev)

Need this to be done in measure so that this new measure excluding 1 customer equals 100%, Any help would be appreciated.

2 ACCEPTED SOLUTIONS  Resolver I
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] = 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev) Frequent Visitor
% 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  "<>"

3 REPLIES 3  Resolver I
% Revenue =
VAR TotRev = CALCULATE ( SUM ('Table'[Revenue]),
FILTER ( ALL('Table'[Customer List]),
'Table'[Customer List] = 'Customer' )
)
Return
Divide(SUM('Table'[Revenue]),TotRev) Frequent Visitor
% 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  "<>"  Super User

Hi,

Share some data to work with and also show the expected result.

Regards,
Ashish Mathur
http://www.ashishmathur.com  