Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
mayuranp
Creator
Creator

Qlikview reads data incorrectly from sql

I have a SQL Server view for customer. One customer has CustomerNo of 000000408 and another has 408.

After loading the data from view, both customers have 000000408 as the customer no in QV.

It looks very strange. Has anyone encountered this error? Any workaround to force QV to take the correct customer no.

Thanks.

 

Both customers in SQL ViewBoth customers in SQL ViewBoth customers in QV after loading data from the customer viewBoth customers in QV after loading data from the customer view

1 Solution

Accepted Solutions
Vegar
MVP
MVP

You will need to make Qlik believe that your CustomerNo is a string and not a numeric value. The numeric 0000000408 is the same as numeric 408.

Try to do a preceding load
LOAD text(CostumerNo) as CostumerNo

View solution in original post

2 Replies
Vegar
MVP
MVP

You will need to make Qlik believe that your CustomerNo is a string and not a numeric value. The numeric 0000000408 is the same as numeric 408.

Try to do a preceding load
LOAD text(CostumerNo) as CostumerNo
mayuranp
Creator
Creator
Author

Thanks, this worked perfectly 🙂