Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jun 26, 2023 3:26:33 AM
Oct 15, 2021 12:34:34 AM
With Qlik Application Automation, you can get data out of Qlik Cloud and distributing it to different users in formatted Excel. The workflow can be automated by leveraging the connectors for Office 365, specifically Microsoft SharePoint and Microsoft Excel.
Here I share two example Qlik Application Automation workspaces that you can use and modify to suit your requirements.
Content:
Video:
Note - These instructions assume you have already created connections as required in Example 1.
This On-Demand Report Automation can be used across multiple apps and tables. Simply copy the extension object between apps & sheets, and update the Object ID (Measure 3) for each instance.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
after changing the column format to MM-DD-YYYY the actual column will show the correct date however if we do a sorting on the table it will show the wrong date. see below:
I tried to change column format to DD-MM-YYYY which still brings wrong date as 12-01-2022
See below sample of the data from History tab:
Is there any other possible solution you could suggest?
Many thanks
It appears to me what is happening is that Excel is reading the date as MM/DD/YYYY and displaying as DD/MM/YYYY but not actually converting the date. Therefore, it is still reading the date as the US format. When I tried testing this in Excel, I can see that when I click on a cell containing a date, the date is the opposite format in the formula bar. I believe this could also be solved by changing the region settings in your operating system's settings.
I think the best solution would be to convert the date to number format within your straight table in Qlik before performing the automation. That way Excel always gets the correct date and converts it to whatever format you specified in your Base64.
Hi @Kayleigh_Milewski many thanks for your prompt reply and suport on this.
the first option might not work as file will be open in different pcs from different countries.
the second option I believe will affect the data that is already visible? If I convert the column to number the date will be a number on online report which will have no use. This report is already being consumed.
within the automation will it be possible to convert all data to number ? Or detect date and convert to number? or maybe even convert all data to number regardless (although it might have impact on strings starting with 0)?
thank you
RF
Hello @MattGrayndlerMattGrayndler,
Thank you for your work on this and for your quick response a couple weeks ago to my post regarding my empty report with only headers.
While my data did not have any backslash or double quotes, I discovered today that some of my cells contained a newline. I was able to replicate this error using alt + enter in a new source file for the app (reference picture attached), it appears to have the same effect as (") and (\), producing a file with only headers. Removing the newline fixes the issue.
Thank you so much again!
-A Smith
Hello @asmith
After speaking to the team, I want to recommend logging a support ticket regarding this so that the issue can be investigated as a potential defect or limitation.
All the best,
Sonja
Hey @MattGrayndler
Firstly, thank you for the awesome template!
I have been trying to make this work, and I was going through the comments section to check if I'm missing something, but for me, the output report has no rows, I am formatting numbers without double quotes and alphanumeric with double quotes, still as you see in the image below, the history of the payload shows that it gets the value in the input but the output is nothing.
Thanks in advance!
The "Open File on Microsoft SharePoint" block before the "Send Mail" block let me attach the spreadsheet to the email for distribution.
Hi @Kayleigh_Milewski , would you mind sharing how exactly you managed to do this? I would also like to include the file as an attachment in the email message.
Great @MattGrayndler !!! Thank you very much!