Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Condition for missing value

Good day!

My task is to make conditions for missing value.

I have sales points and make pivot table with such dimensions:

1. Sales Point

2. Date.

There are some dates with sales "-". It's missing value. Is there any way to set '!' for missing value in expression?

Such as.. if(sum(sales)  <condition> for missing value,'!','V')

15 Replies
Anonymous
Not applicable
Author

Thank you!

But it get me "-", not  '!'

Not applicable
Author

Then you can try comparing the string. like if(sum(sales) = '-','!','V')

Anonymous
Not applicable
Author

Can you share your Sample QVW please.

Anonymous
Not applicable
Author

i can not compare missing value with "-", because it's not string value

PrashantSangle


Hi,

If you want change - to ! then go to presentation tab

change missing symbol and Null Symbol to "!" instead of "-"

Or try in expression

like

if(not isnull(expression),expression,'!')

or

if(len(trim(expression))>0,expression,'!')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Yoda300_
Contributor
Contributor

Hi, did u find a solution ? I have the same issue, thanks to reply