Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

expression help

HI there can anybody help me merging these two expressions :

1>   =if(count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])>count({$<[PGA]={'A'},'arrow up icon','arrow down icon')

2>  if(count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])=count({$<[PGA]={'A'})>} [Recipient Identifier]),

'resize horizontal icon')

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe like

if(

     count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])=count({$<[PGA]={'A'}>} [Recipient Identifier]),'resize horizontal icon',

if(count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])>count({$<[PGA]={'A'}>} [Recipient Identifier]),'arrow up icon','arrow down icon')

)

Not sure if your syntax of your advanced search is correct, though. Does each expression work on its own?

View solution in original post

2 Replies
swuehl
MVP
MVP

Maybe like

if(

     count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])=count({$<[PGA]={'A'}>} [Recipient Identifier]),'resize horizontal icon',

if(count({$<[PGA]={'A'},MonthYear={$(='"'&concat(distinct date(Addmonths(MonthYear,

-Getselectedcount(MonthYear)) ,'MMM-YYYY'),'","')&'"')}>} [Recipient Identifier])>count({$<[PGA]={'A'}>} [Recipient Identifier]),'arrow up icon','arrow down icon')

)

Not sure if your syntax of your advanced search is correct, though. Does each expression work on its own?

arusanah
Creator II
Creator II
Author

Thank Sweul!!!

yes my Advanced search was working fine .