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 – is a subreport concept possible

We were told by a Qlik rep that there should be a way to implement a subreport concept within a single NPrinting report and I have seen a few discussions about Cycling vs Bursting which imply that a subreport concept can also be done in relation to those concepts but there isn't enough detail there to understand how to achieve it.  For example, I am basically talking about having 2 qlikview chart objects serve as 2 subreports within a single Pixel Perfect NP report (I’ll call them A and B for simplicity) where some users see only report A, some only see report B and some see both reports A and B.  I’ve done some experimentation to prove this out but am failing; I tried variations of my data model to code my users with report flags, using the Filter String under the Data property node for DetailReport sections, and using filters on my users in the NP web console.  Has anyone done anything like this or have suggestions on how to accomplish it? Thanks.

1 Solution

Accepted Solutions
Not applicable

Pixel Perfect can conditionally show or hide objects, so what you're describing in possible.

View solution in original post

6 Replies
Not applicable

Hi ,

I have worked NP 16.4 but, version 17 must be downward compatible. If i understand your requirement correctly, your need is more like chart level filtering based on the user base.

So, i would split it into different NSQs based on the user segment need from the same QVW and create two different recipient groups. I know, it's a lazy method, not utilizing the sub report stuff. But, this method could be a potential quick and dirty solution to your issue.

I am also keen to learn from the experts here should they have alternate and more effective solutions in this thread?

kdmarkee
Specialist
Specialist
Author

If I cannot get so called subreports to work within one NP report (nsq) then yes, I'll be forced to create separate NP reports.

Not applicable

Pixel Perfect can conditionally show or hide objects, so what you're describing in possible.

kdmarkee
Specialist
Specialist
Author

Before asking how to do that, I decided to search for "conditionally hide objects in nprinting" and stumbled upon this, How to Manage PixelPerfect Conditional Output Formats Using the Formatting Rules Editor  .  I will try it out and see if I can get it working for my scenario and report back.

kdmarkee
Specialist
Specialist
Author

After a few frustrating days, I got it to work.  The biggest hurdle is that I had made the assumption that I should use the field names as seen in the qvw instead of how NP pulls them in and calls them for the Formatting Rule syntax.  For example, if I have a field in my data model in my qvw called REPORT_A, NP pulled it in and called it REPORT_A_1 and it is the name REPORT_A_1 I had to use in the Formatting Rule syntax.

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

great insights Kris - thanks.

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.