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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Suppress when there is null in expression

Hello,

I've loaded the below data in qvw file

LOAD * INLINE [

    ID, Link

    1, A.bmp

    2, B.bmp

    3,

    4

    5, C.bmp

    6, D.bmp

];

- In Straight table i've taken dimension as ID and Expression as =Link &'<URL>WWW.Google.com'.

So i can able to see in front as below image.

Untitled.png

- Now i want to Suppress the table if the expression is null.

1 Solution

Accepted Solutions
Not applicable
Author

hi ,

just use

=if(len(Link)>0,ID)

as calculated dimension it works!!

find attachement  eee.qvw

Warm Regards,

Anant Dubey

View solution in original post

4 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Load the values like this because while loading in  inline it assumes it as empty value(like '') not as null.

LOAD ID,if(len(Link)>0,Link,Null()) as Link INLINE [

    ID, Link

    1, A.bmp

    2, B.bmp

    3

    4

    5, C.bmp

    6, D.bmp

];

Then Check suppress null values in the dimension tab.

Celambarasan

Not applicable
Author

Still no use.

Not applicable
Author

hi ,

just use

=if(len(Link)>0,ID)

as calculated dimension it works!!

find attachement  eee.qvw

Warm Regards,

Anant Dubey

Not applicable
Author

Ya it's working.