Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Group By Results in a Table

Hi All,

i would like to group by results in a chart, based on a logic,

Let's look at this example:

in any case an ID has a product type like premium or plus, show it

in case an ID has only basic product type, show the basic

*show only 1 row per ID

how can i do this in a straight table/ pivot table?

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Why premium is the value associated? must It Always be premium? what if Premium do not exists among record to be grouped?

maxgro
MVP
MVP

maybe this expression

subfield(concat(Type, '@'), '@', -1)

Anonymous
Not applicable
Author

it doesn't have to be premium,

in case there is base - then base,

in case there is premium/Plus - then premium/plus