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

Show data in Table with ONLY value after SCRIPT (not in CHART)

Hello guys!

I have an Excel table that I'm editing via Scrip.

In that table there are many data and I need to show and work with data that in field VNOTE has a value 'OK'. Excample below.

AlexWest_0-1667995060595.png

But, if use "IF" function, I can see my table with 'OK' value, but also I see other data with VNOTE blanc values.

So is it possible to not show at all any data that have no value 'OK' in VNOTE field?

Note: not in chart, I need this solution in script.

Thanks a lot!

 

Labels (1)
1 Solution

Accepted Solutions
PrashantSangle

Hello,

 

Use where clause.

like 

Load * 

from tableName

where VNOTE = 'OK';

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
PrashantSangle

Hello,

 

Use where clause.

like 

Load * 

from tableName

where VNOTE = 'OK';

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
BrunPierre
Master
Master

If(VNOTE = 'OK',VNOTE,NULL()) as VNOTE

AlexWest
Creator
Creator
Author

Thanks a lot!

Didn't know about "where" func.

It helped!