Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
carolinne88
Creator
Creator

Zero for null fields

Hello guys! I need help.

I have a data worksheet that does not notify zero for null values.

When I put in the expression to bring in the value of the last month, it returns the value of the preceding month.

I need zero to appear.

Can anyone help?

16 Replies
HirisH_V7
Master
Master

Better Specify the Field that contains nulls or empty as you said, As '0' and load it again.

Use Script as Varun suggested for that field in Script Side.

HirisH
“Aspire to Inspire before we Expire!”
carolinne88
Creator
Creator
Author

Thanks for the suggestions and I'll check back soon. I'll give you a return. Thank you!

Anonymous
Not applicable

try this:

Alt(PerID,0)

carolinne88
Creator
Creator
Author

Guys, I still have the same problem.

When I put the expression to return the value of the last PerID, as there is no data from the "B seller", it returns the data from the last month that there was sales of B. It does not return zero as I would like.

techvarun
Specialist II
Specialist II

A sample qvw or data would help the community to help you better

carolinne88
Creator
Creator
Author

Hi guys!


Thanks to Varun's advice, I was able to solve my problem. I found this link here in other forum discussions.


Link: https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field



Thank you all!

carolinne88
Creator
Creator
Author

by Avinash's tips *


sorry.