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 moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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.
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
94 | |
90 | |
83 | |
75 | |
49 |
User | Count |
---|---|
145 | |
140 | |
109 | |
68 | |
55 |