Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
gaurav2017
Contributor II

Null or Zero

Hi folks,

I was loading some data from excel file something like this:

ABCD
P100500
Q10050
R10000
S100

So the problem is:

I want to treat " " value as "0" in order to make a calculation.

Regards,

Gaurav Malhotra

Qlikview Consultant Trainee

2 Replies
jsn
Honored Contributor

Re: Null or Zero

Hi Gaurav,

You could parse the Space values out when loading the fields in the script.

If(Field=" ", 0, Field) as Field

gaurav2017
Contributor II

Re: Null or Zero

LOAD A,

If (B=" ",0, B) as 1stDimension,

If (C=" ",0,C) as 2ndDimension,

If (D=" ", 0, D) as 3rdDimension,

FROM

Temp;

This is not working, What should I do ???

Community Browser