Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
JacobJones
Creator
Creator

Errors when editing Load script in Qlik Sense

Hi,

I am trying to exclude rows based on field values in the load script.

I am brand new to doing this, should I be editing the locked auto generated load script? 

turning:

TriageCaseProcessingLocation,
CaseProcessingLocationType
FROM "Prod".dbo."TriageView";

 

into:

 

TriageCaseProcessingLocation,
CaseProcessingLocationType
FROM "Prod".dbo."TriageView"

WHERE Patient_ID = '123';

 

When I do that I end up getting errors, saying fields under the LOAD don't exist. Also sometimes when I remove the where statement i added, the script stops working.

 

Best,

Jacob

 

Labels (1)
1 Solution

Accepted Solutions
Anil_Babu_Samineni

Because you have not loaded  "Patient_ID" into the table.

TriageCaseProcessingLocation,
CaseProcessingLocationType
FROM "Prod".dbo."TriageView"

WHERE Patient_ID = '123';

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

3 Replies
Anil_Babu_Samineni

Because you have not loaded  "Patient_ID" into the table.

TriageCaseProcessingLocation,
CaseProcessingLocationType
FROM "Prod".dbo."TriageView"

WHERE Patient_ID = '123';

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Yoshidaqlik
Creator II
Creator II

Hi

It seems to be ok,

can you pass the load of this table you want to filter?

 

regards

YoshidaQlik https://www.youtube.com/channel/UC1I9P8MqCZEhB6Nw3FdSqng
JacobJones
Creator
Creator
Author

Just to be clear, to achieve this type of filtering I should be unlocking the auto-generated load script? There is no other place, except in the chart expression themselves, to exclude rows? Like in Data Management?