Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
vireshkolagimat
Creator III
Creator III

Nulls formatting

Hi All,

I have the below data and i would like to show 100% wherever the value fullfilled is Null(-).

I tried the expression like if(isnull([Value Fullfilled]),'100%',[Value Fullfilled]) but not getting the expected result.


nullvalue.PNG




Thanks.

11 Replies
YoussefBelloum
Champion
Champion

Hi,

you can try this, you will found it  at the bottom of the presentation tab of this type of chart you're using:

null.png

you can replace null values and missing values.

vireshkolagimat
Creator III
Creator III
Author

Hi, I tried the above steps but it doesn't have any effect. These setting will apply to the whole chart.

But i need to format only the value fulfilled column.

Thank you.

Thiago_Justen_

What about this:

If(len(trim([Value Fullfilled]))= 0 or [Value Fullfilled]='NULL' or [Value Fullfilled] ='-', '100%', [Value Fullfilled])


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

I would suggest this:

If(len(trim([Value Fullfilled]))= 0 or [Value Fullfilled]='' or isnull([Value Fullfilled]), '100%', [Value Fullfilled])

Thiago_Justen_

Handling with null values ​​is more complicated than we sometimes imagine.

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
vireshkolagimat
Creator III
Creator III
Author

Hi thank you. Its working as expected.

vireshkolagimat
Creator III
Creator III
Author

Yeah it worked. thanks

YoussefBelloum
Champion
Champion

You're welcome !

don't forget to close the thread by marking correct and helpful answers

vireshkolagimat
Creator III
Creator III
Author

yes i did.