Hi,
I have a question regarding the above so;
I have a simple formula in measure;
But I also have a customer table with there discounts, now if iterating over the sales table I would just use.
But so far I've been unable to use the dicount column in the first example,
Any suggestions, pointers, gratefully received.
Richard
I have a question regarding the above so;
I have a simple formula in measure;
VBA Code:
over dim table:=SUMX('Product','Product'[Price]*CALCULATE(SUM(Sales[sales])))
But I also have a customer table with there discounts, now if iterating over the sales table I would just use.
VBA Code:
Total Revenue:=SUMX(Sales,Sales[sales]*RELATED('Product'[Price])*(1-RELATED(Customer[Discount])))
But so far I've been unable to use the dicount column in the first example,
Any suggestions, pointers, gratefully received.
Richard