Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bom dia,
Estou com dificuldade ao programar um app no QlikSaaS que precisa me devolver a venda do último ano, porém está me devolvendo a mensagem de erro:
'Erro na Expressão
Error in set modifier expression
sum ({<(year([dataoperação])={'2023'}>}Total VLLIQ)
Já tentei fazer algumas alterações na fórmula, porém travei nesse erro, alguém tem alguma ideia do que possa ser ?
Try below
Sum ({<(year([operationdate])={'2023'}>}Total VLLIQ)
there is additional ( before year & in set analysis, on left side of equal to "=", you can not use function like
year(OperationDate) is not correct. You have to create Year field in Script only.
or use if to achieve to what you are looking for
for example
Sum(Total if(Year(Date)='2023',VLLIQ,0)).
Regards,
Prashant Sangle
Try below
Sum ({<(year([operationdate])={'2023'}>}Total VLLIQ)
there is additional ( before year & in set analysis, on left side of equal to "=", you can not use function like
year(OperationDate) is not correct. You have to create Year field in Script only.
or use if to achieve to what you are looking for
for example
Sum(Total if(Year(Date)='2023',VLLIQ,0)).
Regards,
Prashant Sangle
Muito obrigado amigo ! Deu certinho a solução que você indicou, muito obrigado mesmo !