Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
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: 
gr_eldred
Creator II
Creator II

Ocultar objeto grafico QlikNprinting

Buenos dias comunidad 
 Espero encontrar una solución a este tema.

Necesito ocultar un grafico en la plantilla de Nprinting según ciertas condiciones. por ejemplo:

si valor > 0, debe aparecer el grafico, caso contrario cuando valor sea <0, debe desaparecer el grafico 

Esto es dentro de la plantilla de Nprinting 

esto es posible realizar ?


Agradezco de antemano su apoyo.

Saludos.

Labels (1)
2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi. I suggest you write your question in English so others can also benefit from the conversation and help you or if you prefer I can respondt o your question in Polish (which is my mother language) and that would be no help to anyone... so...:

"Good morning community 
I hope to find a solution to this issue.I need to hide a graph in the Nprinting template according to certain conditions. For example: if value > 0, the graph should appear, otherwise when value is <0, the graph should disappear.  Is this possible to dowithin the Nprinting template?
Thank you in advance for your support.

Best regards."

Obviously this is not enough information as we dont know what sort to template we are talking about (Excel, Pixel Perfect, Power Point, HTML or Word) and what layout you require. We also dont know what is the final output file? Is it PDF, PPT, DOC, XLSX or maybe HTML or JPG or other. We also dont know if you require such behaviour within the Level or Page node of the report.

Depending on your requirements there can be many different solutions.

Short answer to your question is YES, in some scenarios it is possible to have conditional hide show for parts of the data but I will not go into details without knowing rest of requirements as solutions are very different for every scenario and require different preparation of Qlik app.

Here is pixel perfect examples:

For other templates the approach is specific to template and required report so we will need more details from you.

cheers

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.
andregas
Partner - Creator II
Partner - Creator II

Hello @gr_eldred ,

I used to create a report with Level, where level is a dedicated table of Sense/View with the conditional formula (one row if OK and zero rows when the formula isn't satisfied).
Add the level into the report and then add your graph insiede the tag level.

When the level has zero rows the graph will not be exported.

Hope this is useful.

Regards