Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
April 9th: The AI Roadmap: 6 Landmarks for AI-ready Data and Analytics: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
davinfrost
Contributor III
Contributor III

Surpress null value

hi guys, 

is there any way to surpress null value on Text Object?

='Total So Number'&' = '&count(distinct [So Number Edit])
& ' Total Invoice = '&Count(DISTINCT([Total SO No]))

 

there is a null value on field [Total SO No]

 

many thanks..

 

1 Reply
sasikanth
Master
Master

Hi,

Try below code,

 

='Total So Number'&' = '&count(distinct [So Number Edit])
& ' Total Invoice = '&Count( distinct if (not isnull ([Total SO No]) OR length([Total SO No])>0 , [Total SO No]))

OR

='Total So Number'&' = '&count(distinct [So Number Edit])
& ' Total Invoice = '&Count( DISTINCT {< [Total SO No] -={'-'}>} [Total SO No])

 

Thanks,

Sasi