
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feldinhalte zusammenfügen
Hallo Zusammen!
Ich habe verschiedene Ereignisse in einer Tabelle stehen. Dazu kommen noch unterschiedliche Ausprägungen, die alle mit dem Ereignis verknüpft sind und alle in einer Tabellenspalte stehen. Ich möchte im Skript eine Tabelle erstellen, in der alle vorhandenen Kombinationen dieser Ausprägungen stehen.
Die Tabelle sieht in etwa so aus:
Ereignis, Ausprägung
ID1, A
ID1, B
ID2, A
ID2, C
ID3, A
ID3, B
ID4, C
In der neuen Tabelle sollte dann eine Spalte so gefüllt sein:
Kombinationen
AB
AC
C
An der Oberfläche konnte ich bisher nur dies hier verwenden:
Aggr(Concat(Distinct "Ausprägung" ,', '), "Ereignis")
Im Skript hilft mir dies aber irgendwie nicht weiter.
Vielen Dank!
- Tags:
- new_to_qlikview
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Gerald,
versuch's mal mit:
tabelle1:
LOAD * Inline [
Ereignis, Ausprägung
ID1, A
ID1, B
ID2, A
ID2, C
ID3, A
ID3, B
ID4, C
];
tabelle2:
LOAD Distinct
Concat(Ausprägung) as Kombinationen
Resident tabelle1
Group By Ereignis;
Gruß
Marco


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Gerald,
versuch's mal mit:
tabelle1:
LOAD * Inline [
Ereignis, Ausprägung
ID1, A
ID1, B
ID2, A
ID2, C
ID3, A
ID3, B
ID4, C
];
tabelle2:
LOAD Distinct
Concat(Ausprägung) as Kombinationen
Resident tabelle1
Group By Ereignis;
Gruß
Marco

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marco,
vielen Dank! Es hat funktioniert. Das war auch zu einfach.
Muss mich erst noch daran gewöhnen,
dass mit QlikView alles etwas unkomplizierter ist.
Ciao!
