Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm struggling with the syntax for a dollar expansion within set analysis. My code is as follows;
=Sum(
{<
[DateType]={"Budget 2018"},
[Measure]={"PF Units"},
Year={2018},
MonthNum={"<=$(=Month(=Max([Transfers.Transfer Date])))"}
>}
[Budget 2018]
)
So I am trying to calculate the month of the maximum date in the field "Transfers.Transfer Date", and use the result as part of the set analysis.
Is my syntax correct?
Grateful for any help!
Or this
=Sum( {< [DateType] = {"Budget 2018"}, [Measure] = {"PF Units"}, Year = {2018}, MonthNum = {"<=$(=Num(Month(Max([Transfers.Transfer Date]))))"} >} [Budget 2018] )
Or this
=Sum( {< [DateType] = {"Budget 2018"}, [Measure] = {"PF Units"}, Year = {2018}, MonthNum = {"<=$(=Num(Month(Max([Transfers.Transfer Date]))))"} >} [Budget 2018] )