Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Currently, in Qlik Application Automation it is not possible to export more than 100,000 cells using the Get Straight Table Data block.
Content:
To overcome this limit, the workaround is to export records in batches from the Qlik Sense straight table to the cloud storage platform of your choice. The prerequisite is to have a unique numerical field in your dataset. If you don't have the unique field in your dataset, you can add it using RowNo() function in the load script as shown below. This counts the rows in the dataset.
In this example, we will export data from the Qlik Sense straight table to Dropbox as a CSV file.
You can also find an exported version of this automation and application attached to this article. More information on importing automation can be found here.
Hey there @AfeefaTk , Im trying to use this automation, with the example dataset, and I can't make it work.. I got the same error: "Object data can't be bigger than 100.000 cells"..
Can you give me a hand with it? 😞
Hi @epatinos
Refer step 5
In vNLoops variable , reduce the value under Value 2 which is 10000 to a lower number. For testing purposes replace 10000 with 3000.
Also make appropriate changes to the vRecordsEnd variable (Step 11). As mentioned Value 1 parameter in the Multiply formula should be the same as that of the Value 2 parameter in the Divide formula of the vNLoops variable.
Please let me know if that works.
Thanks
That work for me, I was also trying to select some fields before the measure, it seems that alterate the whole structure of the code..
Thank you!!! 🙂
I tried to build the example by using your files. (QVF and json)
I don't know, what to enter in the variable vFieldName.
Could you help me please.
(For a newbie like me this tutorial contains to less explanation.)
Hello, I am having trouble with the "Get Measure" block. I have attempted this two ways, as you described above using the "Create Measure" block, as well as by manually creating the measure within the app. The measure is called "row_count" with a formula of "count(row_number)", which is the alias I gave the RowNo() column in the data load. When used within the app in a KPI, the measure correctly indicates that there are 143 rows.
However, using "Get Measure" in an Automation doesn't return anything. I put "row_count" into the Measure Id field, but nothing happens. When I do a test run, there is an "In" section in History, but no "Out" section. Trying to set the returned value to the vNRecords variable produces a value of 0. The "In" section of the history in the Variable block says "Set vNRecords equal to <empty>"
Why is "Get Measure" not working for me?
Hi @skustes
If you have the RowNo() function added in the load script of the app, the formula that you need to use while creating the measure is Count([RowNo( )]).
I see you are using the incorrect formula "count(row_number)".
Could you please give it a try with Count([RowNo( )]) formula in the Create Measure block and see if that works?
Please let me know your feedback.
Thanks
Afeefa TK
Hi @AfeefaTk, I aliased the RowNo() function as row_number in the load. "RowNo() AS row_number". There is no problem within the app using "count(row_number)" to get the correct count. However, I opened a support case about the issue, so I will work through it via that channel. Thanks!
Hello,
I think this kind of automation works in shared space only.
Is there a workaround for managed space ?
thanks !
Hello @AfeefaTk
I try to do in different way and it works well.
The problem is it's very very long to export (52 minutes to export 16 000 lines) because it copy to file line by line.
Is there a way to improve performance like a bulk export ?
The goal is to allow users to automate their export data from corporate application to S3, and then they can use this dataset to build their own application in their shared space.
Thanks !