Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

How to call an external / custom function in Qlik Sense?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to call an external / custom function in Qlik Sense?

Last Update:

Feb 23, 2021 4:10:40 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 18, 2018 9:00:18 AM


Qlik Sense has only a specific set of predefined functions available, what if you want to use a custom function of your own or want to call an external script? How can this be done?


Environments:

 

Resolution:

If you want to write your own custom functions to use in or call from Qlik Sense, there are two different ways to approach this:

  1. Call an external script from Qlik Sense via the Using the EXECUTE statement, or...
  2. Implement Analytic Connections / Server-Side Extensions (SSE) (a.k.a Advanced Analytics Integrations) (June 2017 release and later)

Option 1 allows running of external scripts while Qlik Sense loads data; however, this means that (1) this cannot be called from visualizations / expressions, and (2) requires changing security settings in Qlik Sense that pose a security risk.

Option 2 allows calling of external functions both within the data load script and within visualizations / expressions, and does not require changing default security settings. However, it is also the most-involved option as this requires writing custom code. See Analytic Connections - Qlik Sense for Administrators and Introduction to Qlik Advanced Analytics Integration pages which provide some basic introductions, there are several examples available on the qlik-oss GibHub repository, and the following Knowledge-base articles also contain basic tutorials on Server Side Extensions / Advanced Analytics Integration:


Please note that if you require Qlik to provide a custom solution for you, that you need to reach out to Consulting Services as this work is not within the scope of Technical Support. See How to Contact the Consulting Team?

 

Related Content:



Debugging or writing custom code is supported by the Qlik Professional Services or Presales teams. These examples are provided for demonstration purposes to explain specific scenarios. No Support or maintenance is implied or provided. Further customization is expected to be necessary and it is the responsibility of the end administrator to test and implement an appropriate rule for their specific use case.

Labels (1)
Version history
Last update:
‎2021-02-23 04:10 AM
Updated by: