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: 
chadliagabsi
Creator II
Creator II

IF CONDITION IN QLIKSENSE SCRIPT

Bonjour ,

J'ai ajouté l'expression en vert dans le script  de QlikSense et j'aurai qu'un seul état.

Merci

LOAD "ID_FOURNISSEUR",

    "ID_GEOGRAPHIE",

    "ID_PERIODE",

    "ID_PRODUIT",

    "NB_EN_STOCK",

    "PRIX_ACHAT",

if(NB_EN_STOCK>0,'EN STOCK','EN RUPTURE') as "ETAT_STOCK";

test.png

1 Solution

Accepted Solutions
chadliagabsi
Creator II
Creator II
Author

Thanks Anil, It's Work. I must display Null Values

View solution in original post

5 Replies
Anil_Babu_Samineni

Condition ok, What is the wrong?

Best Anil, 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
chadliagabsi
Creator II
Creator II
Author

I dont find Two values in my selection.

test.png

Anil_Babu_Samineni

Can you show these fields in Table Box?

NB_EN_STOCK and ETAT_STOCK

Best Anil, 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
chadliagabsi
Creator II
Creator II
Author

Thanks Anil, It's Work. I must display Null Values

Anil_Babu_Samineni

Great, Please flag correct answer

Qlik Community Tip: Marking Replies as Correct or Helpful

Best Anil, 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