Hello,
I hope someone can gvie me some advice ( reading suggestions ) regarding variables, I'm confused.
So, Variables of defined once, and are constant, but if I use
and then drop that into a pivot table it takes on filter context of the
Pivot table. But sometimes I've had to define the Variable within the iterator,
I seem to be misunderstanding somthing? any suggestions or information welcome.
Richard.
I hope someone can gvie me some advice ( reading suggestions ) regarding variables, I'm confused.
So, Variables of defined once, and are constant, but if I use
Excel Formula:
ab:=VAR maxindex = MAX(Table1[Index]) RETURN maxindex
and then drop that into a pivot table it takes on filter context of the
Pivot table. But sometimes I've had to define the Variable within the iterator,
Excel Formula:
Copy of Measure 1:=
SUMX(
Table1,
VAR aregion = Table1[Regeio
RETURN
RELATED( Table2[Budget] ) / COUNTROWS(FILTER(ALL(Table1) )
)
Richard.