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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

SET expression add filter COMPETITOR=wago

Hi All

I using button to select only 4 company :-

COMPETITOR

(WAGO|PRECICON|iTDS|TDS_G|INTERMECH)

I need to insert filter expression into below SET expression :-

sum({$<year = {">=$(=max(year),4)"}, month = {"<=$(=max({<year={$(=max(year))}>} month))"}>}distinct REVENUE_C)/1000000

My approach :-

In the past i can insert filter less then current year.

money((Sum({<year = {"<=$(=Year(Today()))"},      $(ColumnDim51)={$(ColumnDim51)}>} Amount)/$(Columndim89)/1000), $(vMoneyFormatK))

So i assume expression as below :-

sum({$<year = {">=$(=max(year),4)"},COMPETITOR='WAGO'and'PRECICON', month = {"<=$(=max({<year={$(=max(year))}>} month))"}>}distinct REVENUE_C)/1000000

But not work.

Paul

1 Reply
paulyeo11
Master
Master
Author

my QV Doc