Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have only Month field in my data source (csv) and month values are like Jan,Feb,Mar,Apr....Dec .
for this how to implement YTD . can any one can help .
EXP: =sum({$<[Month]={'>=$(=month(YearStart(Today())))'}>}aggr(avg([Target ]),[Sold-To ]))
I think you need 2 expressions
Sum({<Year=, Month=, Quarter=, Week=, DateField=, DateNum={">=$(=Num(YearStart(Max(DateNum))))<=$(=Max(DateNum))"}>} [Sold-To ])
AVG({<Year=, Month=, Quarter=, Week=, DateField=, DateNum={">=$(=Num(YearStart(Max(DateNum))))<=$(=Max(DateNum))"}>} [Target ])
Vikas