Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
evgeniystuchalk
Partner - Creator II
Partner - Creator II

Multiple dimension values in one cell. How to filter it?

Hello! I have table like this:

Deal IDTags
1tag1, tag2
2tag2
3tag2,tag3,tag4
4tag5

after loading, i want to see in Filter for Tags field values like:

tag1

tag2

tag3

tag4

tag5.

Not

tag1, tag2

tag2,tag3,tag4

etc.

It is real to make it?

1 Solution

Accepted Solutions
sunny_talwar

Try like this:

LOAD [Deal ID],

          SubField(Tags, ',') as Tags

FROM Source;

View solution in original post

3 Replies
sunny_talwar

Try like this:

LOAD [Deal ID],

          SubField(Tags, ',') as Tags

FROM Source;

evgeniystuchalk
Partner - Creator II
Partner - Creator II
Author

Thanks! It works. But now i have next situation.

Earlier my Deals record looks like this:

Deal IDTagsSum
1tag1, tag2500

And after subfield(Tags,', ') it looks like this:

Deal IDTagsSum
1tag1500
1tag2500

What kind of set analysis i need to apply for measure Income, that takes sum of all Sum fields with distinct deals ID?

sunny_talwar

May be try this:

Sum(Aggr(Only(Sum), [Deal ID]))

or

Sum(Aggr(Avg(Sum), [Deal ID]))

or

Sum(Aggr(Sum(DISTINCT Sum), [Deal ID]))