Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
AjjuSid
Contributor III
Contributor III

Execute Stored Procedure in Qlik Sense

Hi All, 

I am trying to run a stored procedure using Parameters in Qlik sense,  the script runs successfully but it does not give me the expected results.

Note: The Query for the sproc is parameterized meaning, It expects a parameter to be passed when calling it. 

Script: 

LIB CONNECT TO 'SNW_Datawarehouse_RO (Test)';

Test:
Load *;
SQL call DBO.test_sproc(8977000);

Expected Result:

When I am running the Sproc in the Database, it gives me the expected results such as Amount for the ID. as shown below in the screenshot. 

AjjuSid_0-1661109519167.png

Result in Qlik :

When I run the Script, it runs successfully. but it does not give me the Amount for the ID, it creates 'Sproc name' as Column and Parameter as value.  I am looking to pull data with the parameter being passed. 

AjjuSid_1-1661109796429.png

Can Some experts please help with this? 

@sinanozdemir @ @Anil_Babu_Samineni 

Thanks and Regards. 

Qlik Sense Enterprise on Windows Sep 2020

Database: SnowFlake

 

Labels (1)
1 Reply
Anil_Babu_Samineni

@AjjuSid  What parameter you expect to be call in procedure?

Can you please explain a bit about your needs between DB and Qlik

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