Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community ! I need a hand on this problem:
I've got 4 tables storing different kind of data and I would like to gather all combination in one signe table. I don't know how to do this. Jointure and concatenation don't seems to be the good way because I want to have every combinations.
the 1st table contains dataset names : dataset 1, dataset 2, dataset 3...
La 2 nd table contains scénario family: optimistic, pessimistic, realistic...
La 3rd table contains scénario : very favorable, favorable, unfavorable, ....
La 4rh table contains years: 2000,2018,2040,2050...
A la fin je voudrais avoir une seule table
du type
dataset 1| optimistic| superfavorable |2000
dataset 1| optimistic| superfavorable |2018
dataset 1| optimistic| superfavorable |2040
...
dataset 1| optimistic| favorable | 2000
dataset 1| optimistic| favorable | 2018
...
dataset 1| optimistic| unfavorable| 2000
dataset 1| optimistic| unfavorable| 2018
...
dataset 1| pessimistic| superfavorable| 2000
dataset 1| pessimistic| superfavorable| 2018
....
dataset 2 |optimist| superfavorable |2000
...
Is there a way of doing this with QlikView ?
Hope you will help
with join, example (just 3, add the year)
t:
load * inline [
field1
dataset 1
dataset 2
dataset 3
];
join (t)
load * inline [
field2
optimistic
pessimistic
realistic
];
join (t)
load * inline [
field3
very favorable
favorable
unfavorable
];
with join, example (just 3, add the year)
t:
load * inline [
field1
dataset 1
dataset 2
dataset 3
];
join (t)
load * inline [
field2
optimistic
pessimistic
realistic
];
join (t)
load * inline [
field3
very favorable
favorable
unfavorable
];
Hi,
I just saw you created an english version of your thread Rassembler les données en les combinant
One solution might be:
tabJeuDeDonnée:
LOAD * INLINE [
JeuDeDonnée
jeu 1
jeu 2
jeu 3
];
tabFamDeScénario:
LOAD * INLINE [
FamDeScénario
optimiste
pessimiste
realiste
];
tabScénario:
LOAD * INLINE [
Scénario
super favorable
favorable
défavorable
];
tabAnnées:
LOAD * INLINE [
Années
2000
2018
2040
2050
];
NoConcatenate
tabCombiné:
LOAD * Resident tabJeuDeDonnée;
Join
LOAD * Resident tabFamDeScénario;
Join
LOAD * Resident tabScénario;
Join
LOAD * Resident tabAnnées;
DROP Tables tabJeuDeDonnée, tabFamDeScénario, tabScénario, tabAnnées;
hope this helps
regards
Marco