Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ab92
Creator II
Creator II

Condition sur calcul

Bonjour à tous,

J'aimerai effectué une condition de calcul sur un champ :

Action mené antérieur : Je prend un champ qui est un résultat d'un test

résultat_E = 150

résultat_S = 200

Dans certain cas j'ai résultat_S = 0 donc je viens d'apprendre que ce n'est pas un résultat mais une absence de test.

Suite à cela j'indiquais que les résultats s'ils ne sont pas nulle ces informations sont complète donc j'appliquais cela :

if (not(isnull(résultat_E)) and not(isnull(résultat_S)),1,0) as Test_complet,

J'aimerai donc indiquer quand le résultat est égale à 0 que les test ne sont pas rempli.

Avez vous un mode op à me partager pour ce genre de réflexion svp ?

Cdt,

A.

1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II

maybe:

if(not isnull(résultat_E) and not isnull(résultat_S) and résultat_E<>0 and résultat_S<>0,1,0) as Test_complet

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
Anonymous
Not applicable

Bonjour,

Vous souhaitez donc que quand "Test_complet" = 0, le résultat renvoyé soit 'Test non rempli' ?

Dans ce cas : if(if (not(isnull(résultat_E)) and not(isnull(résultat_S)),1,0) = 0, 'Test non rempli', 'Test rempli')

Sinon, si personne d'autre ne répond correctement à votre question, merci de la reformuler car personnellement je ne la trouve pas claire.

Cordialement,


Renaud

micheledenardi
Specialist II
Specialist II

maybe:

if(not isnull(résultat_E) and not isnull(résultat_S) and résultat_E<>0 and résultat_S<>0,1,0) as Test_complet

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
ab92
Creator II
Creator II
Author

Michele thanks a lot for you help ..

I don't know why I don't find this, the problem come the 'and' I need to work more about this condition...

Best R,

A.