Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Meriam360
Contributor

How can I code Python script inside Qlik Sense

I use Python to generate some report in excel format then from there I upload that excel report in Qlik sense, but I want to code Python inside Qlik sense so that I can generate the report in Qlik sense then continue to build some chat using that excel from generated from Python

Labels (1)
1 Solution

Accepted Solutions
Damien_V
Support

You can connect Qlik Sense to python with the "Server side Extensions" feature in Qlik Sense to execute python queries and display the result. See details here.

https://community.qlik.com/t5/Official-Support-Articles/Getting-Started-with-Advanced-Analytics-in-Q...

 

However in your specific use case that is just generating an excel file and then read it back to Qlik Sense, it might be simpler to use the EXECUTE statement to run an external bat script calling the python script generating the file.

https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegu...

 

If the issue is solved please mark the answer with Accept as Solution.

View solution in original post

1 Reply
Damien_V
Support

You can connect Qlik Sense to python with the "Server side Extensions" feature in Qlik Sense to execute python queries and display the result. See details here.

https://community.qlik.com/t5/Official-Support-Articles/Getting-Started-with-Advanced-Analytics-in-Q...

 

However in your specific use case that is just generating an excel file and then read it back to Qlik Sense, it might be simpler to use the EXECUTE statement to run an external bat script calling the python script generating the file.

https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegu...

 

If the issue is solved please mark the answer with Accept as Solution.