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

Using IsNull Formatting Rule in NPrinting

I'm using a table loaded in my Levels node for a pixel perfect report, my detail band is using that level, and I am trying to conditionally hide a field in that detail band if the field is null (ie... IsNull([CH334_Level.Reason Code]))but cannot seem to get it working.  What am I missing here?  Thanks.

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

Hi Kris,

I am not sure If I understand ... what do you mean by: I am trying to conditionally hide a field in that detail band if the field is null (ie... IsNull([CH334_Level.Reason Code]))?

First of all to use conditional formatting rule you need to have field in the band where condition is applied, then you can make font, borders colours formatting based on value, but I dont think you can actually exclude column as the actual condition seems to be evaluated on row-by-row basis

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.
Ruggero_Piccoli
Support
Support

Hi,

It could be that null values are interpreted as empty strings. Try to modify the formula like:

IsNull([CH334_Level.Reason Code])) Or [CH334_Level.Reason Code] == ""

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
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 with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.