Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
sarfaraz_sheikh
Contributor III
Contributor III

How i can add dummy Zero against some fields

Dear All,

Any idea how i can add dummy zeroes against particular fields in order to show them in table.

Any trick regards the same help would be much appreciated.

Sarfaraz

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

What kind of data you have in that field.

If the values are null, you can use the if statement along with isnull(), something like below.

If(Isull(Field),0,Field)

To make null values as 0.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable

Can you elaborate with sample examples what you want to get as output

krishna20
Specialist II
Specialist II

Hi,

Goto presentation tab in the chart properties.At the bottom there is an option like Null symbol and missing symbol.There you can place '0'.

Hope it helps.

gautik92
Specialist III
Specialist III

in script jus add if(isnull(Field),'0',field)

ashfaq_haseeb
Champion III
Champion III

Hi,

It depends on your requirement, if you just want to append zero before field then use below approach

Load

Field1,

0&Field1 as CustomField,

Field2

from table;

Regards

ASHFAQ

saimahasan
Partner - Creator III
Partner - Creator III

Hi Sarfaraz,

If your query is resolved then please close it.