Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
unknownb
Partner - Contributor III
Partner - Contributor III

Colour Null (-) Cells?

Hello! 

I hope you can provide some assistance! 

On a couple of particular dashboards and from the front end, not via the load script, if possible we want to mark any cell in a table that is null (-) as Red. As an exception report if you like.

I have taken a good look around the forums and nothing as yet is proving as working as I understand these Null values are not actually deemed as null by the system?

I also read that it might be a possible to colour the whole table as lets say 'Red' and then make any cell that has values as white, so it leaves the null value.

Example data:

nullcell.png

 

 

 

 

 

 

Any help would be great!

 

 

 

Labels (3)
1 Reply
mayuringale25
Partner - Creator
Partner - Creator

Hii @unknownb 

Refer this

TEST:
LOAD
NAME,
IF(IsNull(CITY),'-',CITY) AS CITY
FROM [lib://Documents/TEST.xlsx]
(ooxml, embedded labels, table is Sheet1);

Data:

NAMECITY
AMUMBAI
BCHENNAI
CDELHI
D 
E 
F 
G 
HMUMBAI
ICHENNAI
JCHENNAI
KDELHI
LDELHI
MCHENNAI
NMUMBAI
OMUMBAI
P 
Q 

 

Now add both NAME and CITY dimension 

In dimension CITY go to background Colour Properties paste the code:

IF(CITY='-',rgb(255,0,0))

Output:OutputOutput

 

 

Data file is also attached.

Thanks and Regards
Mayur Ingale