Forum Discussion
Anonymous
7 years agoNot applicable
Calculation between tables
Hi, I have 2 tables, sales and commissions by item for a company I need to sum the commissions by a company please help with DAX SALES Part ID Sales X 20 X 30 X 40 XX 45 ...
v-frfei-msft
7 years agoCommunity Support
Hi Anonymous ,
Create a measure as below. If it doesn't meet your requirement, kindly share your excepted output to me.
Measure =
VAR k =
FILTER ( Commissions, Commissions[Part ID] IN VALUES ( SALES[Part ID] ) )
RETURN
CALCULATE ( SUM ( Commissions[Company Commissions] ), KEEPFILTERS ( k ) )
Pbix as attached.
Regards,
Frank
Anonymous
7 years agoNot applicable
Hi
thanks, but the commissions its sum of multiplication of sales and commission percent