Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sudhanshu123
Partner - Contributor III
Partner - Contributor III

Need help in replacing Null on front end in qliksense

Hi,

Need help in replacing Null on front end in qliksense.

we have pivot table in which we are getting nulls and we need to replace null with zero.

Pivot table have two dimension and one measure.

We need to know if we can replace '-' symbol with 0 ,by changing it somewhere in backend.

Thanks,

2 Replies
Thiago_Justen_

You should try something like that:

If(len(trim(YOUR_DIMENSION))= 0 or YOUR_DIMENSION='NULL' or YOUR_DIMENSION='-', 'VALUE_TO_REPLACE',YOUR_DIMENSION )


This could be used in backend or frontend.

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
jonathandienst
Partner - Champion III
Partner - Champion III

Use this to replace nulls with 0

=Alt(<your expression>, 0)  // assumes <your expression> is numeric

or

=If(Len(<your expression>) = 0, 0, <your expression>)  // will handle non-numeric <your expression>

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein