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

Unable to replace Null values with 0

Hi,

I am unable to replace null values  '-'  with 0.

I am using if(IsNull((Count(iD))),0,(Count(iD)))

Attaching my app for better understanding.

Regards,

Vinayak

17 Replies
zhadrakas
Specialist II
Specialist II

you can try

if(len(Count(iD))>0, Count(iD),0)

Not applicable
Author

HI Tim,

Its not working for me.

Thanks,
Vinayak

zhadrakas
Specialist II
Specialist II

dont know if this is possible in qlik sense.

In QlikView there was an Option in Presentation of an object to Display null values as..

tomasz_tru
Specialist
Specialist

You can not do much about NULLs that are being created in calculations. And it's logical that Qlik do not allow you to set zero where the value is unknown. You can modify data model to make sure every combination of Period/City has it's ovn value even if it is 0.

Tomasz

Not applicable
Author

Hi TIm,

We cannot do this in QlikSense

Regards,

VInayak

Not applicable
Author

Hi Thomasz.,

Thanks for taking out time for this discussion,

As I am very new to this tool if you could elaborate on your previous comment as I dont know much in Qlik Sense.

Regards,
Vinayak

pathiqvd
Creator III
Creator III

Hi,

Try with "alt" function,

like

alt(ID,0)

it will replace with 0 or whatever u give

Regards,

Not applicable
Author

HI laxmipathi,

Sir its not working for me.

Regards,
Vinayak

qv_testing
Specialist II
Specialist II

HI,

i.e not NULL data, you don't have data.

QlikView side we have option, Missing Symbol..

Capture.PNG

I think we don't have any option Qlik sense side..