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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Union of two fields into single column in Straight table

Dear All,

I have table with two fields like :

RegionComp
A1
A2
A3
B4
B5
C6
C7
D8
D9

Now I want to Create a table in which the dimension should be the combination of these two fields into one:

Location
A
1
2
3
B
4
5
C
6
7
D
8
9

Is this possible at front end?

Thanks in advance.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw for the useless trick. Remodel your data for a real solution.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
swuehl
MVP
MVP

I believe you can't easily create a concatenated field that is associated with your data model on the front end.

What you can do, is create a synthetic dimension using ValueList(). But this would probably require some logic also in your expressions to filter your data according the synthetic dimension value (could be done using pick() / match()).

But I would suggest remodelling your data.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw for the useless trick. Remodel your data for a real solution.


talk is cheap, supply exceeds demand
tresesco
MVP
MVP

Or,

Like in attached sample using valuelist(). But seems not a useful one in real life scenario.

rbecher
MVP
MVP

Hi Shrasti,

you could use an expression like:

Region & '/' & Comp

..and treat it like an hierarchy (see attached example). But then you cannot select region.

- Ralf

Astrato.io Head of R&D
rbecher
MVP
MVP

What? Hehe, funny how useless...

Astrato.io Head of R&D