Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
easternfish
Contributor III
Contributor III

reload with $ symbol

Hi,

I was wondering how I can inluded the $ symbol during my reload process. When I reload the same file using just the SQL option I get no errors and I'm able to use the "INV$" field in my Expressions with no problems but if i use the LOAD option I get an errror rightway from the reload proccess.

Any ideas on how I can use LOAD instead of SQL to retrived the data with $ sign fields from a database?

SQL SELECT *

FROM DATABASE.COMPANY WHERE COMP = 1;

LOAD

DATE,

Year (date(date#(SBINDT, 'YYYYMMDD'),'YYYY/MM/DD')) as Year,

INV$,

COMP,

STATE,

CITY;

SQL SELECT *

FROM DATABASE.COMPANY WHERE COMP = 1;

thank you

1 Solution

Accepted Solutions
jaime_aguilar
Partner - Contributor III
Partner - Contributor III

I try to replicate this error, but I didn't get an error message when using $ in fieldnames. However, it's possible that QlikVIew is not interpreting the fieldname as expected.

You can try putting the fieldname between [ ], so QlikView interprets correctly the fieldname.

it would be something like:

LOAD

DATE,

Year (date(date#(SBINDT, 'YYYYMMDD'),'YYYY/MM/DD')) as Year,

INV$ as [INV$],

COMP,

STATE,

CITY;

SQL SELECT *

FROM DATABASE.COMPANY WHERE COMP = 1;

Regards

View solution in original post

2 Replies
jaime_aguilar
Partner - Contributor III
Partner - Contributor III

I try to replicate this error, but I didn't get an error message when using $ in fieldnames. However, it's possible that QlikVIew is not interpreting the fieldname as expected.

You can try putting the fieldname between [ ], so QlikView interprets correctly the fieldname.

it would be something like:

LOAD

DATE,

Year (date(date#(SBINDT, 'YYYYMMDD'),'YYYY/MM/DD')) as Year,

INV$ as [INV$],

COMP,

STATE,

CITY;

SQL SELECT *

FROM DATABASE.COMPANY WHERE COMP = 1;

Regards

easternfish
Contributor III
Contributor III
Author

it's working with the [ ].

Thank you so much !!