Forum Discussion
Calculate measure two different tables
- 6 years ago
your statement
calculate(sum(Transacties[AmountDC]);ALL('DimRelaties');'DimRelaties'[CanDropShip]=true())looks pretty good to calculate total revenue by ALL customers which candropship is true
isn't it work ok? give a data example please
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi az38,
Thank you for your suggestion. What I need is the total revenue of the dropshipment customers.
I tried to rewrite your code to, but I think this gives me the number of transactions rather than the revenue: calculate(sum(Transacties[AmountDC]);ALL('DimRelaties');'DimRelaties'[CanDropShip]=true())
Basically "transacties = transactions table" and "DimRelaties = customers table"
I forgot to translate that into English.
your statement
calculate(sum(Transacties[AmountDC]);ALL('DimRelaties');'DimRelaties'[CanDropShip]=true())looks pretty good to calculate total revenue by ALL customers which candropship is true
isn't it work ok? give a data example please
do not hesitate to give a kudo to useful posts and mark solutions as solution