Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Below is my nPrinting VLOOKUP setup but after running the report, I only get the engine to evaluate the first record and not all records of the table. What am I missing in the setup?
My report has no levels.
I also tried by creating an expression in the Table in the App and referencing it but no luck despite disabling Keep source formats. The output repeats the formula but does not evaluate. How does one get native excel functions to evaluate in nPrinting
Hi,
this is basic NPrinitng functionality with excel and is working as designed in your case. Solutions on how to implement excel formulas in the excel tables are described in official tutorials here: https://help.qlik.com/en-US/nprinting/November2020/Content/NPrinting/ExcelReports/Make-Calculated-Co...
In short you have 2 options:
cheers
Lech
Hi,
I agree with @Lech_Miszkiewicz and I would like to suggest to use native Excel tables instead of levels because levels slow down the report generation speed. Levels work but I suggest to avoid them when they are not needed to keep the best performances.
Best Regards,
Ruggero
Hi,
Use a native Excel table and add vlookup or other formulas you need on it. Formulas will ba automatically copied by Qlik NPrinting on all table rows when generating the final reports. You can also use Excel formatting features and apply them to the table.
Levels were the only way to replicate custom Excel formulas on each row of a table on old Excel versions where native Excel tables were not yet supported (Excel 2003 and older). Using levels to create an Excel table with custom formulas to calculate something that is not available in Qlik Sense works but it is slower than using native Excel tables so I suggest the second solution.
You could also add the information directly in the Qlik Sense object or in the Qlik Sense load script if possible.
Best Regards,
Ruggero
Hi
I also tried using the table as is from sense as well as native Excel table and the expression with vlookup still did not execute to provide results. Doing trivial SUM() AVG() functions works fine but vlookup does not. It seems this is a persistent issue in other discussions on this board as well. An example would be helpful if have one handy
What am I missing here? Would appreciate your response. Thanks,
Hi,
Based on what I can see from your screenshots you are using VLOOKUP, that is an Excel function, in a Qlik Sense table column. Am I right? In a Qlik Sense table you need to use only documente Qlik Sense functions or add the Excel functions directly in Excel cells without the Qlik NPrinting tag characters (< and >).
Before working in Qlik NPrinting be sure that in the source Qlik Sense app you can see all the correct data.
Then you have to define the native Excel table in the Qlik NPrinting template. Refer to the official help site at https://help.qlik.com/en-US/nprinting/November2020/Content/NPrinting/ExcelReports/Intro-Excel.htm for all the details about Excel templates development.
Best Regards,
Ruggero
Hi,
All previous steps are documented here https://help.qlik.com/en-US/nprinting/November2020/Content/NPrinting/ExcelReports/Make-Calculated-Co...
I suspect you are doing something wrong because this works (I already did in the past) but I'm not able to understand what so could you share more screenshots? In details I would like to see the source data and structure and the generated report.
Best Regards,
Ruggero