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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Question:need to combine two values in as one in a dimension

I have one dimension with category like "new,win,repeat".i want to combine New and win as dymanic and repeat as static in stacked bar chart .how can i do it? please help

1 Solution

Accepted Solutions
sunny_talwar

May be using a calculated dimension

If(Match(category, 'new', 'win'), 'dynamic', 'static')

View solution in original post

3 Replies
sunny_talwar

May be using a calculated dimension

If(Match(category, 'new', 'win'), 'dynamic', 'static')

Anonymous
Not applicable
Author

Hi Sunny,

thanks you. its working but I am getting the whole calculated expression at the top along with the dynamic and static values.

also  what if I have more values apart from new win and repeat like switch ,restart and i want static to be only dynamic.

please guide.

thanks & regards,

Anuradha

sunny_talwar

Hi Anuradha, I don't think I completely follow your question... do you mind sharing some raw data and explain what you are looking to get out of it?