Forum Discussion
Anonymous
4 years agoNot applicable
Create measure using average
Hi there,
I am trying to create a measure that averages a measure I currently use.
Existing
SUM('LH_Warranty'[Rebate Value]) + [PartsMarginExVAT]
How would I get the average of the above?
Anonymous does this work?
measure = AVERAGEX ( ADDCOLUMNS ( tbl, "test", [existingMeasure] ), [test] )
7 Replies
- smpa01Community Champion
Anonymous does this work?
measure = AVERAGEX ( ADDCOLUMNS ( tbl, "test", [existingMeasure] ), [test] )- AnonymousNot applicable
Hi smpa01 I've tried but returns blanks
AVERAGEX(ADDCOLUMNS('Measures (2)',"Margin Average",[Total Margin]), [Margin Average])- smpa01Community Champion
Anonymous what is
'Measures (2)'
- AnonymousNot applicable
Hi smpa01 I've tried but returns blanks
AVERAGEX(ADDCOLUMNS('Measures (2)',"Margin Average",[Total Margin]), [Margin Average])
- vanessafvgCommunity Champion
avg of measure =
AVERAGEX (
LH_Warranty,
LH_Warranty[Rebate Value] + LH_Warranty[other column Value]
)