I have to create a simply function.
IF (Sosta='Y', count(MancatoCarico),44000)
The result is always 44000. What's wrong?
Maybe Sosta is never 'Y' ...
Qlik is case sensitive, maybe is 'y' or maybe you have Y is in fact ' Y'
IF (lower(trim(Sosta))='y', count(MancatoCarico),44000)
Retrieving data ...