Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ravikumar_iyana
Creator
Creator

How to remove null() or empty spaces in Table Box

Hi,

I am facing a problem for removing null() or spaces in tablebox.

Teacherstudent
    John
raviReddy
kumarPrem
saiKumar
anilrunil
tejamani
shivakrishna

Requirement: when  Tab:Teacher is null then all Column will disappear

I am already used this below:

1) I am already used trim() in script level

2) In Table Box -> presentation -> i am checked Omit Rows where field is null

plz help me ASAP

9 Replies
agigliotti
Partner - Champion
Partner - Champion

in View or Sense ?

ravikumar_iyana
Creator
Creator
Author

In View

Quy_Nguyen
Specialist
Specialist

Hi Ravi,

If you want to treat spaces as null, try this in the script load:

If(Trim(Teacher) = '', Null(), Teacher) As Teacher

Then In Table Box -> presentation ->  check Omit Rows where field is null.

agigliotti
Partner - Champion
Partner - Champion

try below in script:

if( len(trim(Teacher))=0, null(), Teacher ) as Teacher

and check Omit rows where field is null.

ravikumar_iyana
Creator
Creator
Author

Hi Andrea,

I am tried that Omit rows

Buts its not working

agigliotti
Partner - Champion
Partner - Champion

are you sure the "Teacher" field value for student "John" is blank ?

shraddha_g
Partner - Master III
Partner - Master III

is it blank or null?

Chanty4u
MVP
MVP

try

If(isnull(Teacher) , Null(), Teacher) As Teacher

saniyask
Creator
Creator

Hi,

hope this helps.

Regards,

Saniya