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: 
Anonymous
Not applicable

Banner table

Hi community,

Is it possible in QV create table where 2 variable one below other.

Please see below my image

Capture.JPG.jpg

Thanks,

11 Replies
Anonymous
Not applicable
Author

If you can verify which variable is aligned to which of the second dimension values, then i suggest you create another field in the same table using the same logic and then its as simple as adding that field to the pivot table.

I mean.. if you know only... "aaaaa, ssss, dddd, fgfg" should have Var1, then you can use the same logic to add that variable value as a field value during the script load.

bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

I don't understand so much, but maybe you could try with the valuelist function.

rbecher
MVP
MVP

What is the purpose of Var1/Var2? To group the second dimension?

- Ralf

Astrato.io Head of R&D
Anonymous
Not applicable
Author

It's 2 different variable.

I just want to combine 2 pivot table, because they use the same dimension MonthYear.

Clever_Anjos
Employee
Employee

Try to add

valuelist('Var1','Var2') as your dimension

At expression level you have to test which value

if(

   valuelist('Var1','Var2') = 'Var1', something, anotherexpression

)

Anonymous
Not applicable
Author

Each variable has own tags.

Var1 :aaa, bbb, ccc

Var2: www, eee, rrrr

It didn't work

Clever_Anjos
Employee
Employee

Are they variables or fields?

I don´t know how a variable can have more than one value

Anonymous
Not applicable
Author

Sorry fields

Clever_Anjos
Employee
Employee

Maybe I´m missing something.

Is this what you want?

Capturar.PNG.png