Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Brauliodf
Contributor II
Contributor II

Cor da fonte com referência ao dia de hoje

Boa tarde !

Enfrento a seguinte situação:

Tenho uma planilha com datas e preciso sinalizar quando a data ou intervalo de data já passou ou ainda virá, porém a expressão que coloquei ou pinta de uma cor ou de outra independente se a data for maior ou menor: if([PRO_EXA_ADM]<= '30/03/2022', red(),green()) na minha leitura se a data tiver menor ou igual a 30/03/2022 ele pintará de vermelho certo? e maior de verde. Só tá pintando de vermelho independente da data.datas.JPG

Labels (3)
1 Solution

Accepted Solutions
Digvijay_Singh

Your date type appears to be a 'text', you need to convert it into the date type, expression is correct, it will work once you change this field to DATE type. Try something like - Date#(Fieldname,'DD/MM/YYYY') in the script for conversion.

View solution in original post

2 Replies
Digvijay_Singh

Your date type appears to be a 'text', you need to convert it into the date type, expression is correct, it will work once you change this field to DATE type. Try something like - Date#(Fieldname,'DD/MM/YYYY') in the script for conversion.

Brauliodf
Contributor II
Contributor II
Author

Thanks @Digvijay_Singh !