Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
WE ARE LISTENING! New Navigation for Qlik Community, Sept. 26: TELL ME MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
AIShatiLove
Contributor III
Contributor III

calculated field in set analysis

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?

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan

Hi @AIShatiLove 

Try lke below

Bring year field from script,

sum({<Year={">=2017"}>} [values])  
Or

sum({<date={">=$(=MakeDate(2017,01,01))"}>} [values])  

Thanks & Regards,
Mayil Vahanan R

View solution in original post

2 Replies
marcus_sommer
MVP & Luminary
MVP & Luminary

The left part must be always a native field but you could try it in this way:

sum({< date ={"=>makedate(2017)"}>} [values])

- Marcus

MayilVahanan

Hi @AIShatiLove 

Try lke below

Bring year field from script,

sum({<Year={">=2017"}>} [values])  
Or

sum({<date={">=$(=MakeDate(2017,01,01))"}>} [values])  

Thanks & Regards,
Mayil Vahanan R