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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove Null Values

Hi,

I have built the following report

Sales Order CSRSales Order NumSales Required DateSales Order DateItem CodeItem DescriptionSales Ordered QuantitySales Outstanding Quantity=[Sales Order Status]='Authorised'Sales Order Status
0
13990007/10/201619/09/2016F038333/1item13500000-1Authorised
13990007/10/201619/09/2016S510-55item23500000-1Authorised
13990220/09/201620/09/2016F009280item3480000-1Authorised
13990220/09/201620/09/2016S533-65item4480000-1Authorised
AE13497429/05/201515/05/2015F013908item510001000-1Authorised
AE13661020/01/201629/10/2015F039616item6100000100000-1Authorised
AE13661020/01/201629/10/2015S530-65item7100000100000-1Authorised
AE13721422/01/201621/12/2015F014057item820002000-1Authorised
AE13721523/12/201521/12/2015F014066item910001000-1Authorised
AE13737001/02/201614/01/2016F039817item102000600-1Authorised

   

I have 4 records were the Sales Order CSR is blank. Can you please tell me how I can dynamically remove these rows.

Thanks in advance

Dave

1 Solution

Accepted Solutions
sunny_talwar

If that doesn't work, may be you need to change your dimension into a calculated dimension or make some modification to the field in script using this to make Sales Order CSR blanks/empty into true nulls

If(Len(Trim([Sales Order CSR])) > 0, [Sales Order CSR])

View solution in original post

5 Replies
sunny_talwar

Have you tried checking 'Suppress When Value Is Null' on the dimension tab for Sales Order CSR dimension?

vardhancse
Specialist III
Specialist III

here is the sample script:

Load *

from Table1 where len(trim(Sales Order CSR))>0;

sunny_talwar

If that doesn't work, may be you need to change your dimension into a calculated dimension or make some modification to the field in script using this to make Sales Order CSR blanks/empty into true nulls

If(Len(Trim([Sales Order CSR])) > 0, [Sales Order CSR])

Anil_Babu_Samineni

Try Like this

Table:

Load * From Table;

[Final Table]:

Load * Resident Table where Len([Sales Order CSR]) <> Null()

Group By Sales Order CSR;


Then Crease Straight table with the Dim as Sales Order CSR and Metrics


Then For that Dim Sales Order CSR You might get down of that Suppress when null is value. You might need to check that. Then tell me still you have the problem after all responses

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Perfect thanks so much....you're brilliant