Hi,
I have a set analysis expression to calculate the YTD but it is just giving me MTD data instead.
if(UniqueId_Flag='1',
sum({<Year={"$(vYTDCurrentYear)"},Month={"<=$(vYTDMinMonth)"}>}([CostPerUnit )),
sum({<Year={"$(vYTDCurrentYear)"},Month={"<=$(vYTDMinMonth)"}>}[Variance]))
vYTDCurrentYear=Current YEar
vYTDMinMonth=Current Month
Regards,
Rahul
can you post a sample app along with the data
Santosh