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

How can I show dependancy of two fields with if condition

If count(field A) =1, field B should be green otherwise red.

looks very simple but not working out....

Can some one give me the script for this.

1 Solution

Accepted Solutions
Not applicable
Author

IF(COUNT(DISTINCT CSE)=1, 'blue.png', 'green.png')

View solution in original post

4 Replies
sunny_talwar

In the script? What are going to color in the script? Can you share a sample to show what you are trying to do?

ahaahaaha
Partner - Master
Partner - Master

Hi,

May be like as at attached file?

Regards,

Andrey

Not applicable
Author

I am building a working load Employee map with the office and Customer service Employee fields.

So, If an office is visited by more than one CSE, office should be displayed in one color , if more than one CSE, office should be displayed in different color. I am using these two images

greenCL.pnghotel.png

If count(CSE) =1, Office should be blue.png otherwise green.png.

Not applicable
Author

IF(COUNT(DISTINCT CSE)=1, 'blue.png', 'green.png')