You are on page 1of 4

Advanced Analytics Integration with Qlik Sense

Benefits:
• Connects third party analysis engines directly to Qlik Sense
• Reduces efforts importing and exporting data manually - streamlines the analytics process
• Enhance existing analytics platform investments
• Increase analytical access to a wider community

Understanding the QIX Engine


User interacts with an QIX updates data for In-context data and

1 app through selection or


search, refining context 2 advanced analytics and
stores in-memory 3 script are sent to
external engine

Combined data set is QIX combines results External engine runs


6 immediately visualized
for the user
5 with existing in-
memory data
4 calculations and sends
results to QIX

© 2018 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik Cloud®, Qlik DataMarket®, Qlik Analytics Platform®, Qlik NPrinting®, Qlik Connectors®, Qlik GeoAnalytics®, Qlik Core®, Associative Difference®, Lead with Data™, Qlik Data Catalyst™,
Qlik Associative Big Data Index™ and the QlikTech logos are trademarks of QlikTech International AB that have been registered in one or more countries. Other marks and logos mentioned herein are trademarks or registered trademarks of their respective owners.
R is an open-source software package licensed Python is an open-source programming language
under the GNU General Public License (GPL) released under the Python Software Foundation
License (PSFL)
For more information on R and to obtain the latest version, For more information on Python and to obtain the latest
visit The Comprehensive R Archive Networks web page at: version, visit Python Foundation’s web page at:
https://cran.r-project.org/ https://www.python.org/downloads/

SSEtoRserve an open-source Server-Side Extension Python Server-Side Extension and scripts


released under the MIT License For more information see the GitHub page:
For more information see the GitHub page: https://github.com/qlik-oss/server-side-extension
https://github.com/qlik-oss/sse-r-plugin https://github.com/qlik-oss/server-side-
extension/tree/master/examples/python
The connector, SSEtoRServe, and Rserve must be running
to communicate with R Full script access is available within Qlik Sense if desired
Access the Qlik Community site to investigate 3rd party Access the support documentation for the full script support:
manager programs:
https://github.com/qlik-oss/server-side-
https://community.qlik.com/blogs/qlikviewdesignblog/2017/07 extension/tree/master/examples/python/fullscriptsupport
/07/automatically-start-the-r-plugin

Customize functions and security to suit your particular needs Customize virtual environments to suit your particular needs
Access the support documentation on GitHub to learn more about Access the support documentation to learn more about these
these advanced configuration options: advanced configuration options:
https://github.com/qlik-oss/sse-r- https://s3.amazonaws.com/dpi-sse/DPI+-
plugin/blob/master/GetStarted.md#defining-and-using-your-own-functions +Qlik+Sense+AAI+and+Python+Environment+Setup.pdf

© 2018 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik Cloud®, Qlik DataMarket®, Qlik Analytics Platform®, Qlik NPrinting®, Qlik Connectors®, Qlik GeoAnalytics®, Qlik Core®, Associative Difference®, Lead with Data™, Qlik Data Catalyst™,
Qlik Associative Big Data Index™ and the QlikTech logos are trademarks of QlikTech International AB that have been registered in one or more countries. Other marks and logos mentioned herein are trademarks or registered trademarks of their respective owners.
Understanding Syntax
Name of the extension to 3rd party application
Function that says “Take this text and pass it to the R engine for evaluation”

1st line of R script – loads a needed library

2nd line of R script – extracts the seasonal trend component from time series data Data to pass from Qlik Sense as “in parameter”

R.ScriptEval('library(TTR);decompose(ts(q$sumBirthsPerMonth, frequency=12, start=c(1946,1)))$seasonal', Sum([Births per month]) as sumBirthsPerMonth)

Eight Base Functions


Scalar Functions Importance of Data Types Aggregation Functions

ScriptEval() Numerical Input and Output ScriptAggr()

ScriptEvalStr() String Input and Output ScriptAggrStr()

ScriptEvalEx() Dual Input and Numerical Output ScriptAggrEx()

ScriptEvalExStr() Dual Input and String Output ScriptAggrExStr()

For more examples, please see the GitHub page for the SSEtoRserve connector
https://github.com/qlik-oss/sse-r-plugin/tree/master/csharp/SSEtoRserve

© 2018 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik Cloud®, Qlik DataMarket®, Qlik Analytics Platform®, Qlik NPrinting®, Qlik Connectors®, Qlik GeoAnalytics®, Qlik Core®, Associative Difference®, Lead with Data™, Qlik Data Catalyst™,
Qlik Associative Big Data Index™ and the QlikTech logos are trademarks of QlikTech International AB that have been registered in one or more countries. Other marks and logos mentioned herein are trademarks or registered trademarks of their respective owners.
Understanding Serialization

Request Bundled Rows Rows Dual{numData: 7, strData: 'Seven'}, Dual{numData: 6, strData: 'Six'}

Rows Dual{numData: 8, strData: 'Eight'}, Dual{numData: 3, strData: 'Three'}

Rows Dual{numData: 2, strData: 'Two'}, Dual{numData: 5, strData: 'Five'}

Bundled Rows Rows Dual{numData: 1, strData: 'One'}, Dual{numData: 6, strData: 'Six'}

Rows Dual{numData: 8, strData: 'Eight'}, Dual{numData: 5, strData: 'Five'}

Rows Dual{numData: 4, strData: 'Four'}, Dual{numData: 5, strData: 'Five'}

Bundled Rows Rows Dual{numData: 7, strData: 'Seven'}, Dual{numData: 8, strData: 'Eight'}

Rows Dual{numData: 3, strData: 'Three'}, Dual{numData: 2, strData: 'Two'}

Rows Dual{numData: 10, strData: 'Ten'}, Dual{numData: 6, strData: 'Six'}

© 2018 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik Cloud®, Qlik DataMarket®, Qlik Analytics Platform®, Qlik NPrinting®, Qlik Connectors®, Qlik GeoAnalytics®, Qlik Core®, Associative Difference®, Lead with Data™, Qlik Data Catalyst™,
Qlik Associative Big Data Index™ and the QlikTech logos are trademarks of QlikTech International AB that have been registered in one or more countries. Other marks and logos mentioned herein are trademarks or registered trademarks of their respective owners.

You might also like