Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, how to write set analysis expresion if in left part i have calculated field:
sum({<Year(date)={'=>2017'}>} [values]) - error in expression
what syntax should I use here?
Hi @AIShatiLove
Try lke below
Bring year field from script,
sum({<Year={">=2017"}>} [values])
Or
sum({<date={">=$(=MakeDate(2017,01,01))"}>} [values])
The left part must be always a native field but you could try it in this way:
sum({< date ={"=>makedate(2017)"}>} [values])
- Marcus
Hi @AIShatiLove
Try lke below
Bring year field from script,
sum({<Year={">=2017"}>} [values])
Or
sum({<date={">=$(=MakeDate(2017,01,01))"}>} [values])