Skip to main content
Announcements
NEW Customer Portal: Initial launch will improve how you submit Support Cases. FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ghilenasma
Contributor III
Contributor III

Script Erreur

Bonjour

j'ai une erreur de syntaxe :

Concatenate(Détails_des_Consultations)

t:

load  PU_Devise_Détaxé_Rendu,

Info_Exist_Prix ,

(if(Info_Exist_Prix='Sans Prix',''

,Min(PU_Devise_Détaxé_Rendu)/

if ( Devise = 'USD', $(Var_Taux_USD),

if ( Devise = 'JPY',$(Var_Taux_JPY),

if ( Devise = 'TND', $(Var_Taux_TND),

if ( Devise = 'GBP', $(Var_Taux_GBP),

if ( Devise = 'EUR', 1 ) ) ) ) ))

) as PUVAR

Resident Détails_des_Consultations ;

c22.PNG

1 Solution

Accepted Solutions
lcloatre
Partner - Creator III
Partner - Creator III

Je pense qu'il manque le Group By

t:

load  PU_Devise_Détaxé_Rendu,

Info_Exist_Prix ,

(if(Info_Exist_Prix='Sans Prix',''

,Min(PU_Devise_Détaxé_Rendu))/

if(Devise = 'USD', $(Var_Taux_USD),

                     if ( Devise = 'JPY',$(Var_Taux_JPY),

                                         if ( Devise = 'TND', $(Var_Taux_TND),

                                                              if ( Devise = 'GBP', $(Var_Taux_GBP),

if ( Devise = 'EUR', 1 ) ) ) ) )) as PUVAR

Resident Détails_des_Consultations

group by

PU_Devise_Détaxé_Rendu, Info_Exist_Prix, Devise

;

View solution in original post

8 Replies
Anil_Babu_Samineni

May be need comma instead division

Concatenate(Détails_des_Consultations)

t:

load  PU_Devise_Détaxé_Rendu,

Info_Exist_Prix ,

(if(Info_Exist_Prix='Sans Prix',''

,Min(PU_Devise_Détaxé_Rendu),

if ( Devise = 'USD', $(Var_Taux_USD),

if ( Devise = 'JPY',$(Var_Taux_JPY),

if ( Devise = 'TND', $(Var_Taux_TND),

if ( Devise = 'GBP', $(Var_Taux_GBP),

if ( Devise = 'EUR', 1 ) ) ) ) ))

) as PUVAR

Resident Détails_des_Consultations ;

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
ghilenasma
Contributor III
Contributor III
Author

c23.PNG

lcloatre
Partner - Creator III
Partner - Creator III

t:

load  PU_Devise_Détaxé_Rendu,

Info_Exist_Prix ,

(if(Info_Exist_Prix='Sans Prix',''

,Min(PU_Devise_Détaxé_Rendu))/

if(Devise = 'USD', $(Var_Taux_USD),

                     if ( Devise = 'JPY',$(Var_Taux_JPY),

                                         if ( Devise = 'TND', $(Var_Taux_TND),

                                                              if ( Devise = 'GBP', $(Var_Taux_GBP),

if ( Devise = 'EUR', 1 ) ) ) ) )) as PUVAR

Resident Détails_des_Consultations ;

ghilenasma
Contributor III
Contributor III
Author

c24.PNG

lcloatre
Partner - Creator III
Partner - Creator III

Je pense qu'il manque le Group By

t:

load  PU_Devise_Détaxé_Rendu,

Info_Exist_Prix ,

(if(Info_Exist_Prix='Sans Prix',''

,Min(PU_Devise_Détaxé_Rendu))/

if(Devise = 'USD', $(Var_Taux_USD),

                     if ( Devise = 'JPY',$(Var_Taux_JPY),

                                         if ( Devise = 'TND', $(Var_Taux_TND),

                                                              if ( Devise = 'GBP', $(Var_Taux_GBP),

if ( Devise = 'EUR', 1 ) ) ) ) )) as PUVAR

Resident Détails_des_Consultations

group by

PU_Devise_Détaxé_Rendu, Info_Exist_Prix, Devise

;

ghilenasma
Contributor III
Contributor III
Author

MERCI c'est réglé vous êtes champion 

lcloatre
Partner - Creator III
Partner - Creator III

Avec plaisir.

Penses à mettre ton post en "résolue" et de mettre la réponse correcte.

ghilenasma
Contributor III
Contributor III
Author

merci ok