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: 
patroser
Partner - Creator
Partner - Creator

NPrinting conditional row based export

Hi there!

I hope my concern is in place in the community. I had a look at vizubis community and couldn't find a Q&A part in the community.

I just had a meeting concerning NPrinting. The client hat a question concerning the conditions.

Unfortunately I didn't find anything about this topic, so I thought I'd ask in the community.

In case there already are posts concerning this topic, but I didn't find them, I'm sorry for bothering.

Let's assume we've got the following Chart in QlikView:

ClientOrdermarginal return in %
Client A112545

12

Client A12451315
Client B123465-7
Client C1245795
Client D649745-12

Is there a chance to create a report containing just the rows with a negative marginal return?

My other question ist about zero values in rows.

Let's assume we've got the following Chart in QlikView:

ClientArticleAmount 2015Amount 2014Value 2015Value 2014
Client A45451217100120
Client A7845010050
Client B12457154590
Client C154610154560
Client D7845045090
Client E8789013047

Exporting this Chart with NPrinting, but just displayin the current year ends up in some zero values in this report:

ClientArticleAmount 2015Value 2015
Client A454512100
Client A784500
Client B1245745
Client C15461045
Client D784500
Client E878900

Is there a chance exporting this chart via NPrinting dissregarding rows with zero values after not displaying all columns?

Thanks in advance!

Patrick

5 Replies
Daniel_Jenkins
Specialist III
Specialist III

Hi Patrik,

You can create and use NPrinting field filters to achieve this. NPrinting supports Advanced Search like filters.

I have attached a small project that does what you want. Please extract to folder C:\Temp\Community\003\ in order to preserve the paths used or you will need to change the paths for the connection and report templates within the NPrinting project.

These are the filters I created:

HTH - Daniel.

patroser
Partner - Creator
Partner - Creator
Author

Great!

Thank you very much!

Patrick

patroser
Partner - Creator
Partner - Creator
Author

I'm afraid there is one more thing.

In reality those values are no dimensions, but expressions.

I just found a way to filter dimensions, is there a way to filter those expressed values?

Thanks in advance,

Patrick

Daniel_Jenkins
Specialist III
Specialist III

Hi Patrik,

I have added a chart with expressions and filtered on one of them. Please see attached.

You can also filter on QlikView bookmarks.

HTH - Daniel.

patroser
Partner - Creator
Partner - Creator
Author

Sorry for my late response,

I'm testing your solution right now, but there seems to be a problem adepting it to my application.

But for now: Am I getting it right, that the person building the reports would need to have knowledge of the expressions of a specific chart to take advance of the filters for reducing the data as mentioned?

I'll let you know as soon as I know more about my having problems adepting the filter.

I thought using the expression would dolve the problem.

Assuming "Expression1" is my Expression calculating the relative profit, I used the following filter for just displaying the negative profit:

=if(Expression1 < 0, Expression1)

This takes ages to calculate and in the end i have a result showing other values than my chart in QV, also it still shows positive profit.

But I'll try little bit more and write again as soon as I know more.