Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Igomorf
Contributor II
Contributor II

Contagem de Itens Desconsiderando Maiúsculos e Minúsculos (UpperCase LowerCase)

Queridos, precisava de uma ajuda em algo.

Eu tenho um KPI que faz a contagem de itens idênticos entre duas colunas da base de dados obtida de um Excel  (.XLSX).

Ocorre que ele diferencia maiúsculos de minúsculos. Assim, se o usuário digitou em caixa alta, por exemplo, o meu app não vai contabilizar como iguais.

 

QLick.JPG

 

Preciso que a contagem DESCONSIDERE se o usuário escreveu em maiúsculos ou minusculos.

Desde já, muito obrigado!

 

Dear ones, i need some help with something.

I have a KPI that counts identical items between two columns of the database obtained from an Excel  (.XLSX).

It turns out that it is uppercase and lowercase. So, if the user typed in capital letters, for example, my app won't count as equals.

 

I need the count to DISREGARD whether the user wrote in uppercase or lowercase.

Thank you very much!

 
Labels (1)
1 Reply
vinieme12
Champion III
Champion III

When creating the flag, compare everything in either of the case

either

if( upper(trim(somefield))=upper(trim(someOtherField)),1,0) as flag

or

if( lower(trim(somefield))=lower(trim(someOtherField)),1,0) as flag

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.