
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nprinting Properties
Hi,
In App , I have used the mandatory filters like Year 2022 and some other mandatory filters. And in KPI and other charts , I have used Getfield selections function..for example, If no year selected , show previous year count.
But when i try to create Nprinting report, by default it is taking 2021 count.. since 2022 I have used in Mandatory filter option.
Is there any way I could get 2022 count , without changing measure value.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Karthick30
your requirement is not clear and there is too many "assumptions". You are saying that "you have used mandatory filters and some other mandatory filters". Can you elaborate on that and be precise.
Also make sure that your Qlik Sense app is supported - meaning does not contain alternate states,triggers, always one selected values set on fields and others unsupported objects (which are mentioned on https://help.qlik.com)
When describing your problem provide us with all required information to recreate a problem in our environments since we are not there with you and we dont see what is wrong. Those descriptions would actually require you to provide the expressions you have used, some information about your data model (maybe screenshot of the data model) etc etc..
Once we are able to understand your scenario, we then may be able to understand the actual problem. Provided information is not sufficient though.
cheers
Lech

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me try to explain clearly.
I have used Sheet Properties 'Actions' Tab to fix default year as 2022 and status as 'Active'
and in all my charts , I used variable as '=if(GetSelectedCount(Year)=0,max(Num#(Year)-1),(GetFieldSelections(Year)))' ..charts in the hub properly working .. its showing records for 2022.since 2022 is selected by default , GetselectedCount(Year)=1.
But when i try to create to Nprinting Report , I am getting records for 2021.. because of my variable. Nprinting not taking the year(2022).. so as per If condition in my variable, getselectedcount(year) is 0 , so its showing previous year records.
1) How to create records for 2022 ?
2) I have used section Access in my app(Employees to see their own records alone and not others) , how to apply
same section access while triggering report via Nprinting
Let me know if you still have any questions
'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Karthick30
Are you aiming to distribute this report using "Publish Task" in NPrinting? or were you trying to use OnDemand report generation by users?
If you are trying to use Publish Task (which I assume you do) then actions you apply in Qlik Sense application are simply disregarded as nPrinting ignores them and on top of that clears all selections. What you need to do instead is create NPrinting filters:
Please study carefully the help document as well as go through videos which are provided on help page. Make sure you understand different types of filters, the way they interact with data, Qlik Sense datatypes, different ways of filtering (values, numeric values, evaluate values, advanced search..)
Your attempt to use sheet actions indicates to me that you have no NPrinting experience which is why i encourage you to carefully study all help topics/tutorials or maybe consider a NPrinting training.
cheers
Lech

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @Lech_Miszkiewicz ,
Thanks Much. I got most of my answers with the URL you shared. YES , I am trying to use Publish Task Option.
One last question.. My App using Section Access. Managers restricted to see their employees status alone. how to replicate that in Nprinting. We have around 70 plus Managers using this App. only few users has complete admin access.
I tried with Filters by users. but its not working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are 2 options you have:
- make sure you add account which is used in NPrinting connection to section access with full admin access
- and then user filters should work (but disable "Apply user section access for reports"
- simply use section access:
- https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/DeployingQVNprinting/Section-access....
- make sure all recipients are configured with their domain account in NPrinting and they have access to Qlik Sense app you are trying to use section access on
Use of user filters would be preferable as it is faster in general due to the way reports can get generated. It is hard to say why it is not working for you without being able to check all settings, starting from section access app configuration, NPrinting connection setting, users settings in nprinting, user filters etc etc..
If it still does not work probably we should go through one example and try to understand why it isnt working. That will require you to provide us with the info i mentioned above.
cheers
