Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Null Values

Hi

How to show '-' values as 'NA'.

Thanks

16 Replies
Not applicable
Author

Thank You All

Not applicable
Author

Is it possible to apply background color for 'NA'?

Chanty4u
MVP
MVP

yes u can do .

if it  used in stright or pivot table

u can use custom format cell option in design grid vie.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

If(Len(Trim(DimensionName)) = 0, Color1, Color2)

Hope this helps you.

Regards,

Jagan.

jagan
Partner - Champion III
Partner - Champion III

Hi,

If you handled in script like below

Hi,

Try like this

LOAD

If(Len(Trim(DimensionName)) = 0, 'NA', DimensionName) AS DimensionName

FROM ...;

If(DimensionName= 'NA', Color1, Color2)

Hope this helps you.

Regards,

Jagan.

MayilVahanan

Hi

Yes, its possible

Background color Expression

=if(Len(Trim(YourFieldName)>0, White(), Red())

Ex:

Project Number Customer A/c Name Sum([Sales Revenue])
80449.24
123456721956.44
1234567Black13290
1234567Jones22576.6
1234567Smith22626.2
Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.