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
Only as test,
try this and let me know please
Load '-' & text(ARITKEL) & '-' as ARITKEL, MENGE , PREIS;
SQL SELECT ARITKEL, MENGE, PREIS FROM VERKAUF
Please post in english
"SQL SELECT * FROM VERKAUF;"
I got SQL Data in a MSSQL 2012 Server Table like:
ARITKEL MENGE PREIS
01 2 4,39
001 5 3,94
00001 1 5,2
Now i selected that data with "SQL SELECT * FROM VERKAUF;"! The Problem is my Listbox in QlikView show me no Artikel with the 01, 001 only 00001!
Try this
Load text(ARITKEL) as ARITKEL, MENGE , PREIS;
SQL SELECT * FROM VERKAUF
still the same problem
My last try ... No more ideas ...
Load text(ARITKEL) as ARITKEL, MENGE , PREIS;
SQL SELECT Cast(ARITKEL as varchar(3)), MENGE, PREIS FROM VERKAUF
still the same problem
and the "ARTIKEL" column ist already defined as varchar and primary in the SQL Table
Only as test,
try this and let me know please
Load '-' & text(ARITKEL) & '-' as ARITKEL, MENGE , PREIS;
SQL SELECT ARITKEL, MENGE, PREIS FROM VERKAUF
sry still the same problem