Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
niharika1234
Creator
Creator

Adding a new Column with Logic

Hello,

I have a Column name Untitled.png

The Column is VLD_STAR_INCIDENT_ID. I want to see the column like below. When VLD_STAR_INCIDENT_ID = 10000, it is Open  and if   VLD_STAR_INCIDENT_ID = 10001 , it is Closed. So the Final column should come like :

Stat_Incident:

closed

Open

closed

open 

closed 

....

Please suggest

1 Solution

Accepted Solutions
lblumenfeld
Partner Ambassador
Partner Ambassador

Are you saying that if VLD_STAR_INCIDENT_ID = 10000 then show "Open" or if VLD_STAR_INCIDENT_ID = 10001 then show "Closed"?

If so then

=If(VLD_STAR_INCIDENT_ID = 10000, 'Open', If(VLD_STAR_INCIDENT_ID = 10001, 'Closed'))

Should work.

View solution in original post

1 Reply
lblumenfeld
Partner Ambassador
Partner Ambassador

Are you saying that if VLD_STAR_INCIDENT_ID = 10000 then show "Open" or if VLD_STAR_INCIDENT_ID = 10001 then show "Closed"?

If so then

=If(VLD_STAR_INCIDENT_ID = 10000, 'Open', If(VLD_STAR_INCIDENT_ID = 10001, 'Closed'))

Should work.