qliksense

Swift client and root SSL certificate authentication

半腔热情 提交于 2019-12-09 23:52:47
问题 Integrating get token api of QLIK server with ssl certificate but after performing task I am getting error like this - " finished with error - code: -999 " // Your hostname and endpoint let hostname = "YOUR_HOST_NAME" let endpoint = "YOUR_ENDPOINT" let cert = "YOUR_CERT" // e.g. for cert.der, this should just be "cert" // Set up certificates let pathToCert = Bundle.main.path(forResource: cert, ofType: "der") let localCertificate = NSData(contentsOfFile: pathToCert!) let certificates =

Execute python script in Qlik Sense load script

£可爱£侵袭症+ 提交于 2019-12-08 12:24:47
问题 I am trying to run python script inside my load script in Qlik Sense app. I know that I need to put OverrideScriptSecurity=1 in Settings.ini I put Execute py lib://python/getSolution.py 100 'bla'; // 100 and 'bla' are parameters and I get no error in qlik sense, but script is not executed (I think) because inside the script I have f = open("file.xml", "wb") f.write(xml) f.close and file is not saved. If I run script from terminal, then script is properly executed. What could go wrong? By the

Resources for learning Qlik Sense

99封情书 提交于 2019-12-08 07:07:04
问题 I am learning a qlik sense tool. I googled about this to learn or understand its controls/widgets, but didn't find much resources and explanations. The only one website where I found example code is https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/Platform/Content/qlik-sense-platform.htm May somebody suggest other resources with example code? Is there any book with understandable examples? 回答1: Have you tried their YouTube channel? Qlik Qlik Sense is a relatively young product that

Tool Recommendation to create Interaction Map with multiple dimensions

為{幸葍}努か 提交于 2019-12-07 23:16:17
问题 I have knowledge in QLik/Sense, Big Query, Google Data Studio ( and related ) I need to create a map with multiple points and each point will display data from the database (point related) The table will look for example like this: +------------+---------------------------+-----------+---------+-------+ | Store Name | Store Location (Long/Lat) | Product | Ordered | Sold | +============+===========================+===========+=========+=======+ | Store 1 | XXX,XXX | Product 1 | True | False |

Tool Recommendation to create Interaction Map with multiple dimensions

不羁的心 提交于 2019-12-06 08:46:04
I have knowledge in QLik/Sense, Big Query, Google Data Studio ( and related ) I need to create a map with multiple points and each point will display data from the database (point related) The table will look for example like this: +------------+---------------------------+-----------+---------+-------+ | Store Name | Store Location (Long/Lat) | Product | Ordered | Sold | +============+===========================+===========+=========+=======+ | Store 1 | XXX,XXX | Product 1 | True | False | +------------+---------------------------+-----------+---------+-------+ | Store 2 | YYY,YYY | Product

Swift client and root SSL certificate authentication

喜夏-厌秋 提交于 2019-12-04 18:17:00
Integrating get token api of QLIK server with ssl certificate but after performing task I am getting error like this - " finished with error - code: -999 " // Your hostname and endpoint let hostname = "YOUR_HOST_NAME" let endpoint = "YOUR_ENDPOINT" let cert = "YOUR_CERT" // e.g. for cert.der, this should just be "cert" // Set up certificates let pathToCert = Bundle.main.path(forResource: cert, ofType: "der") let localCertificate = NSData(contentsOfFile: pathToCert!) let certificates = [SecCertificateCreateWithData(nil, localCertificate!)!] // Configure the trust policy manager let

Counting unique values in a column in pandas dataframe like in Qlik?

£可爱£侵袭症+ 提交于 2019-12-04 07:41:17
问题 If I have a table like this: df = pd.DataFrame({ 'hID': [101, 102, 103, 101, 102, 104, 105, 101], 'dID': [10, 11, 12, 10, 11, 10, 12, 10], 'uID': ['James', 'Henry', 'Abe', 'James', 'Henry', 'Brian', 'Claude', 'James'], 'mID': ['A', 'B', 'A', 'B', 'A', 'A', 'A', 'C'] }) I can do count(distinct hID) in Qlik to come up with count of 5 for unique hID. How do I do that in python using a pandas dataframe? Or maybe a numpy array? Similarly, if were to do count(hID) I will get 8 in Qlik. What is the

Counting unique values in a column in pandas dataframe like in Qlik?

心不动则不痛 提交于 2019-12-02 15:27:38
If I have a table like this: df = pd.DataFrame({ 'hID': [101, 102, 103, 101, 102, 104, 105, 101], 'dID': [10, 11, 12, 10, 11, 10, 12, 10], 'uID': ['James', 'Henry', 'Abe', 'James', 'Henry', 'Brian', 'Claude', 'James'], 'mID': ['A', 'B', 'A', 'B', 'A', 'A', 'A', 'C'] }) I can do count(distinct hID) in Qlik to come up with count of 5 for unique hID. How do I do that in python using a pandas dataframe? Or maybe a numpy array? Similarly, if were to do count(hID) I will get 8 in Qlik. What is the equivalent way to do it in pandas? Count distict values, use nunique : df['hID'].nunique() 5 Count only

Filtering by a calculated measure involving multiple fields in Qlik Sense

喜你入骨 提交于 2019-11-29 15:40:21
I am trying to use a calculated measure as a way to filter my data, but it's looking more difficult than expected. Let me explain through an example. I have data of the following type, with two dimensions - one is a unique ID, the other a category - and four measures. Initial table My first step is to rank each element by its score, where the ranking is evaluated within the same category. I therefore create a new measure: =aggr(rank(sum(Score1)), Category, UniqueID) I do this for all three scores, resulting in three new calculated measures. My final calculated measure is the average of the

Qliksense REST offset pagination using loop

天涯浪子 提交于 2019-11-28 14:29:16
I need to paginate through all of the records from Hubspot API and I am getting stuck at offset pagination loop. According to the Hubspot's API documentation, there is no "total records" path available in the response but instead "has-more" filed tells us if there are any more records we can pull from this portal. two parameters that can be used for pagination are vidOffset & has-more here's what qliksense script looks like for custom pagination via rest connector. LIB CONNECT TO 'HubSpot '; // Action required: Implement the logic to retrieve the total records from the REST source and assign