Skip to main content
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 .