Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
jmarotte
New Contributor III

Group values in expression

I have a block chart and I currently have an expression to count statuses.  I'd like to group some of these statuses into a 'new' category.  Instead of doing this in the script, can I define it in Expressions?

For example I'd like to say

if([Dashboard Status]='In Progress' OR [Dashboard Status]='Design', 'In Queue', 'xxx')

Thank you.

3 Replies
ramoncova06
Valued Contributor III

Re: Group values in expression

it would be better if you do as a calculated dimension instead, of using the expression, but yes it can be done

krishna_2644
Valued Contributor III

Re: Group values in expression

Hi Jen,

You can definitely Achieve the new category.

Use Pick() and Match functions.

See below.

PICK(MATCH([Dashboard Status],'In Progress' ,'Design'), 'In Queue', 'xxx')

let me know if you have any questions.

krishna

jmarotte
New Contributor III

Re: Group values in expression

Got it! Thank you!