Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Reihenfolge in Dimension selber festlegen

Hallo,

ich bin neu hier im Forum und wollt mich jetzt schon mal für die Mühen und die Unterstützungen bedanken. Wir haben vor seit kurzem Qlik Sense im Einsatz. Ich habe leider noch nicht soviel Erfahrung damit. Ich habe eine Frage zu der Darstellung und Sortierung in einer Dimension.

Ich hoffe die Frage ist im richtigem Forum. Ich habe eine Tabelle erstellt mit Artikelgruppen, Produktgruppen usw. Jetzt wollte ich auf dem Blatt auch nochmal die Produktgruppen (Dimension) als Filter darstellen. Leider passen mir die Standard Sortierfunktion der Dimension nicht. Beispiel:

Die Beschreibung wird alphabetisch Sortier:

A1

A2

A

B

C

C1

usw.

Ich möchte gerne eine manuell Sortierung:

A

B

A1

D2

C

Ist das möglich?

Vielen Dank für Eure Mühe!

Gruß Elhamplo

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Hallo Tim,

wenn dein Problem gelöst ist, dann schliesse bitte diesen Thread indem du Petter's Antwort als korrekt markierst.

Danke!

View solution in original post

4 Replies
petter
Partner - Champion III
Partner - Champion III

You have at least three approaches to achieve what you describe.

1) Create a sort order field in the same dimension table that you have your dimension. Then you can specify sort order according to this extra field with Sorting/Custom/Sort by expression.

2018-01-18 21_06_29-_Sales Discovery - My new sheet _ Sheets - Qlik Sense.png

2) Make sure that you load the dimension value in the right sort order in the load script by using. Then you can turn off all sorting which will make the values to appear in load order.

2018-01-18 21_07_29-_Sales Discovery - My new sheet _ Sheets - Qlik Sense.png

3) Create a calculated dimension with the Dual()-function so each value is a text and a number. Then it will sort the values by the numeric value instead of the text value.

2018-01-18 21_09_18-_Sales Discovery - My new sheet _ App overview - Qlik Sense.png

The expression above is =Dual( Customer , [Customer Number] )

Anonymous
Not applicable
Author

Hallo,

sorry, für die verspätete Antwort. Nach langem probieren am Wochenende, hat es geklappt. Super Vielen Dank!!!

Gruß


Tim

swuehl
MVP
MVP

Hallo Tim,

wenn dein Problem gelöst ist, dann schliesse bitte diesen Thread indem du Petter's Antwort als korrekt markierst.

Danke!

swuehl
MVP
MVP

Hm, ich meinte, dass du bitte Petter's Antwort als korrekt markierst, ich habe ja  inhaltlich nichts beigetragen...