Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In Qlik Sense chart total is visible but in the n printing excel report it is not visible.
Since we are not using the Top n Values for the dimensions, the count of rows is not the same.
Can you please suggest how to get the total in the NPrinting excel report when the count of rows are not the same?
Thanks
Hi,
Thanks, that screenshot lets me to understand. You dragged and dropped each single column of the Qlik Sense table into the Excel template, and that is correct but it doesn't add the totals. So with this structure of the template it is correct that totals are not visible.
To add the totals you have to follow step by step the instructions in https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ExcelReports/Make-Calculated-Column..... So create a native Excel table and use Excel formulas to add calculated totals on the bottom.
Best Regards,
Ruggero
Hi @deep2021
Solution suggested by Ruggero works regardless of number of rows in the table. Here is also the video explaining it: https://www.youtube.com/watch?v=HjIK7cC9HJk
cheers
Lech
Hi @deep2021 ,
Please, read carefully the linked instructions. The Excel sum() formula is entered in the template selecting at least two rows, not only one. Selecting two or more rows lets Qlik NPrinting to understand that it has to expand the formula to include all generated rows also when their number is not fix nor know from the beginning.
The DeleteRow tag is not mandatory but, when added, it indicates to Qlik NPrinting to delete that row from the final report. So you will deliver a report without an empty row between the details and the totals. If you want to keep an empty row you can avoid to add the DeleteRow tag.
Best Regards,
Ruggero
Hi @deep2021
I guess we can confirm what is possible and what isn;t .
Option 1. ("expand range" turned off)
Charts with Properties option set to: "Don't move or size with cells" - this is actually irrelevant in this case
Template:
Drawbacks of this solution:
you will need to provide data for charts in different place with "Expand Range" turned on or converted from Ranges to Tables:
Option 2. ("expand range" turned off)
I often consider putting TOTAL at the top of the table. That simplifies process as Total line which does not interact with the charts (if the table on the left is used to produce chart on the right). It also lets you create total without having to change your data model. Assuming that you know maximum possible number of rows in the table you can make totals just like shown below. If there is less row than within SUM() range it will still produce correct value, so no issues there.
Option 3. ("expand range" turned on)
Summary:
I tried to provide you with various different scenarios in how you can deal with it. I suggest you practice different scenarios, see what works best for you. At the end you are working with excel and we are limited to excel capabilities here. What you are trying to do can be done, but as mentioned it requires preparations and planning.
cheers
Hi,
We need some more information, like the structure of the Excel template.
Are you adding the Qlik Sense table as an image? If yes, did you try to change the Stretch option in the Properties panel to see if the image is cut?
Are you adding the Qlik Sense table as a table? If yes, did you checked the Show Totals flag in the Properties panel?
Best Regards,
Ruggero
Hi Ruggero,
In the n printing template, in the table, we are using separate expressions for each column.
Thanks,
Deepak
Hi,
Ok, could you share some screenshots of the template or export the template and share the .zip (it doesn't contain any data, only the structure, you can check by opening the zip)?
I would like to check if something is missing in the template.
Best Regards,
Ruggero
Hi Ruggero,
PFB screenshot,
We are using expressions for each and every column.
Thanks.
Hi,
Thanks, that screenshot lets me to understand. You dragged and dropped each single column of the Qlik Sense table into the Excel template, and that is correct but it doesn't add the totals. So with this structure of the template it is correct that totals are not visible.
To add the totals you have to follow step by step the instructions in https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ExcelReports/Make-Calculated-Column..... So create a native Excel table and use Excel formulas to add calculated totals on the bottom.
Best Regards,
Ruggero
Hi Ruggero,
Thanks for your valuable reply. The main issue is our number of rows in the excel are not fix. Can you please suggest how to show totals in such kind of scenarios in the excel.
Thanks
Hi @deep2021
Solution suggested by Ruggero works regardless of number of rows in the table. Here is also the video explaining it: https://www.youtube.com/watch?v=HjIK7cC9HJk
cheers
Lech
Hi @deep2021 ,
Please, read carefully the linked instructions. The Excel sum() formula is entered in the template selecting at least two rows, not only one. Selecting two or more rows lets Qlik NPrinting to understand that it has to expand the formula to include all generated rows also when their number is not fix nor know from the beginning.
The DeleteRow tag is not mandatory but, when added, it indicates to Qlik NPrinting to delete that row from the final report. So you will deliver a report without an empty row between the details and the totals. If you want to keep an empty row you can avoid to add the DeleteRow tag.
Best Regards,
Ruggero
Hi Ruggero,
We have tried auto sum but in this case we have to enable the expand range option for the Top table, so in case the right hand side tale will go down.
Could you please suggest on this.
Thanks