Hello,
Could someone explain or point me in the right to some information regarding these two measures;
< Total Revenue Fact 21M = SUMX(fTransactions,RELATED(dProduct[Price])*fTransactions[Units]) >
< SUMX(dProduct,dProduct[Price]*CALCULATE(SUM(fTransactions[Units]))) >
My question is why don't I need to use RELATED in the second example they both achieve the same result,
So if i'm reading it right SUMX is iterating over the dproduct table and then the calculate causes a row context ?(I think).
But I would have thought I would have to tell it that it was a related table to SUM?
Richard.
Could someone explain or point me in the right to some information regarding these two measures;
< Total Revenue Fact 21M = SUMX(fTransactions,RELATED(dProduct[Price])*fTransactions[Units]) >
< SUMX(dProduct,dProduct[Price]*CALCULATE(SUM(fTransactions[Units]))) >
My question is why don't I need to use RELATED in the second example they both achieve the same result,
So if i'm reading it right SUMX is iterating over the dproduct table and then the calculate causes a row context ?(I think).
But I would have thought I would have to tell it that it was a related table to SUM?
Richard.