Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

kevinchevrier
Contributor III

Hide Header when no data to Display

Hi,

Is there a way to hide header in a table when there is no Data to display inside ?

For one table I have just the header and that's not beautiful...

Kevin

18 Replies

Re: Hide Header when no data to Display

try

conditional option in expression tab.

Regards,

Regards,
Prashant Sangle

Re: Hide Header when no data to Display

Hi Kevin,

You can use conditional enable option for your expressions like below.

Capture.PNG

You can also conditionally show any dimensions like below.

Capture.PNG

kevinchevrier
Contributor III

Re: Hide Header when no data to Display

Hi,

I've tried this solution but it doens't work.

I have an error message when I Previous my report on NPrinting :

Erreur message erreur personnalisé.PNG

Kevin

lech_miszkiewic
Honored Contributor III

Re: Hide Header when no data to Display

you cannot do this in nPrinting 17

All objects referenced in your NPrinting template must be visible in your app.

cheers

Lech

---------------------------------------------

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 as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Re: Hide Header when no data to Display

What is your final requirement???

Where you want to achieve ??

If you want it in nprinting write macro to hide those column or delete those column.

Let me know if any query.

Regards,

Prashant

Regards,
Prashant Sangle
kevinchevrier
Contributor III

Re: Hide Header when no data to Display

Hi,

What is your final requirement??? ==> as the first requirement, hide the table in NPrinting when there is no data to display.

Where you want to achieve ?? ==> I don't want the header in Nprinting, just blank when then there is no data to display.


If you want it in nprinting write macro to hide those column or delete those column ==> what kind of macro should I use ?


Regards,

Kevin

vinieme12
Esteemed Contributor II

Re: Hide Header when no data to Display

Hide the entire table if there is no data to display

in the layout table Check conditional Visibility >>  add a condition for the chart to be visible

kevinchevrier
Contributor III

Re: Hide Header when no data to Display

Hi,

I've tried this solution but it doens't work.

I have an error message when I Previous my report on NPrinting :

Erreur message erreur personnalisé.PNG

Kevin

lech_miszkiewic
Honored Contributor III

Re: Hide Header when no data to Display

you cannot do this on Qlik side - as NPrinting will throw an error similar to the one from screenshot above.

What template are you using in NPrinting? XLS, Word, PixelPerfect? HTML?

Is it straight or pivot table?

What is you template like? does it have Page? or Level entity used?

Depending on all above information we may/may not be able to find a solution to your requirement.

regards

Lech

Community Browser