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: 
Yintak
Contributor II
Contributor II

Combining set expressions

Hi

I will like to seek help for this issue:

=AGGR(Concat(DISTINCT [ChargeCode], ', '), [Job Number])

Currently this is what I have for above, I will also like to combine another expression together:

=If(Not Match(ChargeCode, 'AFC'), ChargeCode)

What is the combination that I should use?

Please help, thank you!

1 Solution

Accepted Solutions
neelamsaroha157
Specialist II
Specialist II

Did you try replacing the [ChargeCode] in first expression with If(Not Match(ChargeCode, 'AFC'), ChargeCode)?

Can you share a sample.

View solution in original post

3 Replies
neelamsaroha157
Specialist II
Specialist II

Did you try replacing the [ChargeCode] in first expression with If(Not Match(ChargeCode, 'AFC'), ChargeCode)?

Can you share a sample.

vishsaggi
Champion III
Champion III

May be this?

=AGGR(Concat(DISTINCT {<ChargeCode -= {'AFC'} >}  [ChargeCode], ', '), [Job Number])

Yintak
Contributor II
Contributor II
Author

Thank you Neelam! this is just the result that I needed (: