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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kamalqlik
Partner - Specialist
Partner - Specialist

Null Values Solution

Hi Guys,

I want the solution for this problem.

I have a table having structure like this

LOAD * Inline

[

Code,SKU,w(-8),W(-7),W(-6),W(-5),ActualSalesW0

WESR150,E1200Black,100,70,30,120,75

WESR150,E1200White,150,0,20,160,90

WESR150,E1207Black,,,50,50,0

]
;

I have also attached screenshot for the table structure and calculation.

Calculation for input rate as per excel is :Average(If( [Actual Sales]=0,Null(), Count If(week-5 toWeek-8,’>0’)/4)).

How can I do that in qlikview.

* Where the value is null for Actual Sales W0 we have not to calculate the count.

Regards

Kamal

1 Reply
aveeeeeee7en
Specialist III
Specialist III

Try Something Like this in your Script:

Load

......

......

FROM ........qvd

WHERE Len(Trim(Actual Sales Amount Field Name))>0;

Regards

Aviral Nag