Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

concatenated key / quotes format error

Hi All,

I am trying to make a concatenated key, but it gives errors no matter what I try.

So who can correct this statement:

pricelist:

SQL

SELECT

"ID_ARTIKEL" & "|" & "ID_RELATIE" & "|" & "PRIJSLIJST_JAAR" as PRIJSLIJST_ID,

"PRIJSLIJST_ARTIKELBEDRIJFGROEP"

FROM CENDRISBI."V_QV_DIM_JDE_PRIJSLIJST";

I am not sure how the quotes work and when to use them...

Greetings and thanks!

Wouter

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello Wouter,

Do a LOAD and create the key there instead of using the ODBC driver

pricelist:

LOAD ID_ARTIKEL" & "|" & "ID_RELATIE" & "|" & "PRIJSLIJST_JAAR" as PRIJSLIJST_ID,

     PRIJSLIJST_ARTIKELBEDRIJFGROEP";

SQL SELECT ID_ARTIKEL, ID_RELATIE, PRIJSLIJST_JAAR, PRIJSLIJST_ARTIKELBEDRIJFGROEP

FROM CENDRISBI."V_QV_DIM_JDE_PRIJSLIJST";

Although it's not mandatory, the LOAD is very very helpful when loading data into QlikView, since you can make use of any available function in QlikView in order to clean your data an prepare the fields for your charts dimensions and expresions (conditionals, concatenations and so).

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hello Wouter,

Do a LOAD and create the key there instead of using the ODBC driver

pricelist:

LOAD ID_ARTIKEL" & "|" & "ID_RELATIE" & "|" & "PRIJSLIJST_JAAR" as PRIJSLIJST_ID,

     PRIJSLIJST_ARTIKELBEDRIJFGROEP";

SQL SELECT ID_ARTIKEL, ID_RELATIE, PRIJSLIJST_JAAR, PRIJSLIJST_ARTIKELBEDRIJFGROEP

FROM CENDRISBI."V_QV_DIM_JDE_PRIJSLIJST";

Although it's not mandatory, the LOAD is very very helpful when loading data into QlikView, since you can make use of any available function in QlikView in order to clean your data an prepare the fields for your charts dimensions and expresions (conditionals, concatenations and so).

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

It sure does! Thanks!