Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Erreur Script

Erreur Script:

  if( [VenteLigne. Article Code]='201101',[VenteLigne. Montant]+([VenteLigne. Qté]*23,77) , [VenteLigne. Montant]),

Remarque: le problème dans le montant  23,77

4 Replies
simospa
Partner - Specialist
Partner - Specialist

Hi,

try to use dot instead of comma

  if( [VenteLigne. Article Code]='201101',[VenteLigne. Montant]+([VenteLigne. Qté]*23.77) , [VenteLigne. Montant]),


then, this is a part of a snippet, isn't it?

The comma at the end is wrong too, it might be replaced with a semicolon ; (but it depends if this is a part of script).


Let us know if it solves your issue.

S.

Not applicable
Author

J'ai déjà tester le . ça ne marche pas/

simospa
Partner - Specialist
Partner - Specialist

Hi,

why have you a comma at the end of your script?

  if( [VenteLigne. Article Code]='201101',[VenteLigne. Montant]+([VenteLigne. Qté]*23.77) , [VenteLigne. Montant]),

And then, tell us more about the formula: the problem is iin load script? Can you attach the log file? It's in a chart? If in a chart, [VenteLigne. Article Code], [VenteLigne. Montant] and ([VenteLigne. Qté] are columns labels or fields?

S.

roger_stone
Creator III
Creator III

Should there really be a space in those column names?