Hi,
I have a question re variables, which i tend to use as it makes it easier to understand but in the formula I have for a running total in a calculated column
I have to use a var or it won't work;
the item (aitem) has to be declared as a variable otherwise you just get a running total. So what's happening?
Richard
Richard
I have a question re variables, which i tend to use as it makes it easier to understand but in the formula I have for a running total in a calculated column
I have to use a var or it won't work;
Excel Formula:
VAR aitem = AllandValues[item]
RETURN
CALCULATE (
[avsales],
FILTER (
ALL ( AllandValues ),
AllandValues[dex] <= EARLIER ( AllandValues[dex] )
&& CALCULATETABLE ( VALUES ( AllandValues[item] ) ) = aitem
)
)
Richard
Richard