Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
ich habe ein kleines Problem und zwar greife ich mit QlikView auf eine MSSQL 2012 Datenbank zu dort gibt es eine Tabelle "Verkauf" mit 3 Spalten eine Spalte davon mit "ARTIKEL" (varchar(40)) Inhalt der ganzen Tabelle:
z.B.:
ARITKEL MENGE PREIS
01 2 4,39
001 5 3,94
00001 1 5,2
Daten werden abgerufen über ODBC per "SQL SELECT * FROM VERKAUF;"
Nun zum eigentlich Problem:
In der QlikView - Auswertung gibt es eine Listbox wo man Artikel auswählen kann dort finde ich aber weder 01, 001 als Werte sondern nur 00001 unter diese sind auch alle Verkäufe zusammengefasst von 01 und 001 wie kann ich es verhindert das QlilkView diese Artikel zusammenfasst weil es ja eigentlich 3 verschiedene sind?
Danke schon mal
Alex
got nobody any ideas how to solve this problem?
Hallo Alex,
to confirm that your whole Artikel column indeed is interpreted as the same numeric value and thus all the field values of the other fields are corresponding to this single value of the Artikel field (this information was missing in the english translation of your initial post), can you please check the data type of the Artikel field e.g. like this:
From your description your result might look like the first picture, except for the only filed value being 00001 instead of 01. The point is that the field is numeric so the proposed Text(Artikel) solution should work.
Could you please check the same with the Load '-' & text(ARITKEL) & '-' as ARITKEL test?
thanks
Gruß
Marco
hmm i thinkt now it works if i creat a view in the the sql db and import from a view with "select * from V_VERKAUF" and do then i got the result vom picture 2 from the original table i got the same "error".
Load '-' & text(ARITKEL) & '-' as ARITKEL
Then you solved your problem, nice.
Please go ahead and close the thread if you feel like there are no further questions.
regards
Marco
thanks guys for y support!