Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
kdmarkee
Specialist
Specialist

NPrinting 17 - cannot expand cycle or level

NPrinting Publish Task ERROR: Cannot expand cycle or level. Cycle expansion produces an empty filter.

My NPrinting report was running fine but now I am getting this failure message during the Publish Task and just don't see anything wrong with the data, my filters, levels or cycle, my report, etc...nothing pertaining to levels or cycles has changed.  Has anyone seen this before and if so, what caused it?  Thanks.

3 Replies
amehta
Contributor II
Contributor II

I am also facing the same issue. where you able to figure out the reason?

kdmarkee
Specialist
Specialist
Author

With my original post, I unfortunately do not recall how I got past the error, if I ever did, and I say that because sometimes upgrading NP to a more recent version make issues go away.  I did run into this same error today, however, and then re-stumbled upon this post.  I can tell you what caused it for me today.  For some reason NP did not like that I had a filter set on my user where the choice was "Value is".  Once I changed it to "Numeric Value is", the report ran.  I'm on Sept 2018 NP and the Log info recorded in the Admin > Task Execution screen was mentioning filter values for the wrong user and that was my first tip that it had to do with a filter.  Other things to look for... if using a filter or cycle, I believe there has to be a value that exists for those cycles and filters to work.  Look at your QlikView or QlikSense data and mimic what NP is doing with cycles and filters, that may lead you to charts without any rows for those cycle and filter values.

Ruggero_Piccoli
Support
Support

Hi,

In the Values drop-down menu you can select from:

  • Value is: use this option if you want to select a string. For example, if you want to select USA in the Country field.
  • Numeric value is: in QlikView and Qlik Sense, all field values are potentially dual values. A field value can have both a numeric value and a textual value. For example, a date that could have a numeric value of 40908 and the textual representation "2011-12-31". Use this option if you want to select a numeric value.
  • Evaluate value: use this option if you want to insert an expression that needs to be evaluated. It must return a single value.

https://help.qlik.com/en-US/nprinting/February2019/Content/NPrinting/ReportsDevelopment/Static-dynam...

The error was generated by an invalid filter selection. Please note that a cycle is a filter.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.