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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
narender123
Specialist
Specialist

NVL in qlikview?

Hi Team,

I have a table having multiple columns.condition like:-

if(isnull(tp_type),doc_type,tp_type) 

Here tp_type and doc_type are columns of same table.

I want to use this ,  if tp_type is null then it will show doc_type records else tp_type  records.

Its working but i want to use it for row based means check row by row .

Thanks,

Narender

2 Replies
PrashantSangle

Hi,

Posted expression must work.

Can you post sample apps or explain with sample data.

Note : Check tp_type does not contain space try like

if(len(trim(tp_type))=0,doc_type,tp_type)

Regards,

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 🙂
qlikviewwizard
Master II
Master II

Hi ,

Please try the below expression:

Data:

LOAD

Column1,

Column2,

Column3,

.

.

.

.

if(len(trim(tp_type))=0,doc_type,tp_type) as Field_Name

From QVD/TableName;