Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis

I have a requirement that need to get current year values for previous year sales executives only

how to get it by set analysis?

3 Replies
anandathome
Creator
Creator

Could you give an example.

What fields are there to identify previous year sales executives?

Please post a sample application.

MK_QSL
MVP
MVP

Could you please explain your requirements? if possible, please some sample data or file for better understanding.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this using P() in set analysis

=Sum({<Year={$(=Year(Today()))}, SalesExecutive=P({1<Year={$(=(Year(Today()) - 1))}>})>}  Sales)

Regards,

Jagan.