Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
rafaelsigaapp
Contributor II
Contributor II

Código com zero esquerda

Em uma tabela no banco de dados tenho os seguintes dados:

ID  DESCRICAO

0308 COMPRESSOR

308 TI

Por algum motivo quando filtro por 0308 o QV mostra os dados do 308. Mas notem no print que a informação na tabela do QV fica:

0308 COMPRESSOR

0308 TI

Sabem como corrigir isso?

 

3 Replies
MatheusC
Specialist III
Specialist III

Oi, @rafaelsigaapp 

Acredito que o motivo seja que internamente este números estejam sendo tratado como o mesmo valor pelo QLik.

Para diferenciar eles você pode usar a função text()

Text(campo) as campoText

Att, Matheus

Did you find a solution to your question? Mark the solution as accepted ✅ and if you found it useful, press the like button!
rafaelsigaapp
Contributor II
Contributor II
Author

Não funcionou. Além disso até mesmo em nível de filtro esta ocorrendo a divergência.

MatheusC
Specialist III
Specialist III

Faça o tratamento do campo via script como exemplo mencionado na mensagem acima, na visualização utilize o novo campo criado campoText.

Att, Matheus

Did you find a solution to your question? Mark the solution as accepted ✅ and if you found it useful, press the like button!