Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Doubt about one Dimmension

Hi

I have two fields (they are in the same table)

Country 1: Arg, Brazil, etc

Country 2: Spain, Italia, etc.

I wanna have the dimension "Countrys" with all the values in the same field.

What should i do?

Thank ya

PD: I forgot to say that if i have Country 1 i NEVER have country 2 and if i have country 2 i NEVER have country 1. I won't have "country 1 and 2"

1 Solution

Accepted Solutions
saurabh5
Creator II
Creator II

hi Jeremias,

you can create a new field by concatinating and then triming any tailing spaces like;

trim(Country1&Country2) as Countrys,

View solution in original post

4 Replies
saurabh5
Creator II
Creator II

hi Jeremias,

you can create a new field by concatinating and then triming any tailing spaces like;

trim(Country1&Country2) as Countrys,

fkeuroglian
Partner - Master
Partner - Master

Jeremias

see this, good luck

Fernando

Not applicable
Author

Thank you! This is useful.

The "trim" worked too.

jpapador
Partner - Specialist
Partner - Specialist

If 1 is always null you could write an If statement like this:

If(Len(Country1) = 0, Country2, Country1) as Country