Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Manni_SM
Creator
Creator

excel template

Hi @Lech_Miszkiewicz  @Ruggero_Piccoli  David_Friend 

i am working with excel template with pdf export and all the way report is working fine 

now customer is asking each sheet  i want last reload time and last download time in the footer 

i tried adding variables in page layout section header footer area 

<vreloadtime>   

{{vreloadtime}}

but nothing worked could you please help with any alternate solution.

am using Qlik sense NP feb2024 SR3 version 

Labels (2)
3 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Manni_SM 

If you are referring to built-in excel headers/footers then those are not accepting any NPrinting tags and you will not be able to pass anything inside of them. 

Lech_Miszkiewicz_0-1779324521079.png

 

My usual workaround is to put data in actual cells at the bottom or the top of the excel page (instead of utilizing built-in functionalities) and manage header and footer size to compensate for that. 

Regarding variables: You need to make sure your variables are expanded already in Qlik as documented here: https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/Troubleshooting/Variables-dont-... 

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Manni_SM
Creator
Creator
Author

Hi @Lech_Miszkiewicz  Thanks for your response. 

To be honest i didnt understand your workaround approach could you please  help me with an example ? or any link which helps to do this requirment?

my expected output:

excel template  -- output format PDF.

 

Sales dashboard

Product |cust |order

1 ,2,3 

 

last refresh date: 10122026  last downloadtime: 11122026 page1

 

 

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Manni_SM 

It really depends on the data and whether data in your report fits within single page or crosses over and creates multiple pages. 

If it fits on single page then I tend to disable "Expand range" https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/ReportsDevelopment/Designer-pro... and just plan the single page layout and print area

If it is multi-page then having dynamic information in a footer (information like last reload date) is not really easy to be put in as you cannot just leave variable tags at the bottom of the page as data will move it to next page. In such case we dont have much options. One thing I try to do is to convince that we could put this information on top of the page and then instead of actual header use this setting to repeat x rows of cells from the top on each page. 

Lech_Miszkiewicz_0-1779529575603.png

 

Other considerations. You also need to take into account what information you want to put in your footer. As an example you posted that one of the information would be page number which obviously will not come from NPrinting but it will have to be coming from native excel footer properties. 

Lastly if you really need all information in footer and your report has multiple pages then it really becomes complex exercise as you need to calculate how many cells you will need to consume for header, data and footer  on each page and then come up with the dynamic idea inside your Qlik app to create a dummy table which will be used to group rows into chunks which then can be placed as a level (so single value from the level produces single page output in NPrinting). 

I haver done this before, but I dont think it was worth the time and effort for the result. 

The approach is always individual to data model and requirements for the output so I have no example because i dont know exactly what you need. If we have clear instructions, some idea how things are in your data model (whether dimensions used are all in single table or multiple tables, what is the uniqueness of the data, whether from your example: (customer, product and order are unique keys or whether order is actualy a measure like quantity ordered?). Long story short for this complex solution you need to be able to have a single field which you can use as a "ID" to apply selection to produce single row of data. From that point it becomes mathematical exercise and Qlik challenge typically involving Rank function / dummy island tables and smart&tricky Qlik development)

Once I have very detailed instructions what the outcome needs to look like I may spend time building something dummy I could share. I just dont want to built this withouth having all the details I need. 

cheers

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.