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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

problem in comparative analysis

Dear

I got an expression which calculates the total sales: sum({<Flag='Sales'>}AmountInUSD)

I got a pivot table that groups the sales by country and I'm getting correct results

Now I'm using the same expression as follows in comparative analysis scenario

Sum({[CurrentYear]<Flag={'Sales'}, Brand= $::Brand>}AmountInUSD)

now the amounts become less than the original , knowing that sales records may have the Brand as null

Please advise on how to force qlikview to include the records with null brands in comparative analysis

I can walk on water when it freezes
1 Solution

Accepted Solutions
calvindk
Creator III
Creator III

You could change the null values for brand in the script, to something like "No Brand"

View solution in original post

1 Reply
calvindk
Creator III
Creator III

You could change the null values for brand in the script, to something like "No Brand"