Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
sumitk
Partner - Creator
Partner - Creator

Data Type Not Coming Correct in SAP

Hello,

In my SAP HANA table AGR_1251, the field LOW's data type is set as CHAR. When I check the value in SAP HANA, it appears as 001. However, when I extract this table into QlikSense, it converts it to a number, and the value appears as 01.

I do not want it to be converted to a number; I want the value to remain as a character in QlikSense.

Please suggest how I can address this issue.

Thank you in advance.

  

1 Solution

Accepted Solutions
rubenmarin

Hi, in the load section you can use the Text() function to keep it as character:

LOAD Text(FieldName) as FieldName...

View solution in original post

4 Replies
rubenmarin

Hi, in the load section you can use the Text() function to keep it as character:

LOAD Text(FieldName) as FieldName...

sumitk
Partner - Creator
Partner - Creator
Author

Hi,

You are saying like this

 

LOAD Text(Low) as Low

Select Low from AGR_1251;

Correct?

rubenmarin

Hi, yes, that's the idea. It doesn't works with that?

sumitk
Partner - Creator
Partner - Creator
Author

Hi,

Yes it's working, Thanks for your support.