Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
122 | |
80 | |
47 | |
45 | |
35 |
User | Count |
---|---|
178 | |
89 | |
69 | |
47 | |
47 |