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

Error with empty fields

Hello,
I load the table "IDNLF" and "EBELN", but with some empty fields the "EBELN" appears twice and "IDNLF" is filled with a "-".
Since I only want to count the filled "IDNLF", the value is of course not correct, since the "-" are also counted.
The problem is also that Qlikview doesn't seem to see this as a "-" and I can't rule it out.

(count (DISTINCT if(IDNLF<>'',EBELN))

does anyone know the problem and have a solution?

Thanks a lot.

 

3 Replies
tresesco
MVP
MVP

Try this?

count (DISTINCT {<IDNLF={"*"}>} EBELN)

woody1982
Contributor III
Contributor III
Author

unfortunately no change.
He doesn't recognize it as an empty space or a "-"

tresesco
MVP
MVP

Could you share your sample app explaining the expected output in that context?