Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
patriciousa
Creator II
Creator II

Load Data: Only Load columns that have an specific value under other column

Hi Community, hope someone can help me out with this.

I have an excel with the following info:

CompanyCodeItemOwnerPriceCurrencyAmountQ
5000199999BananasPatrick401EUR290000
5000200493OrangesMathew394EUR29500
5100224004ApplesLouis330USD300000
5400303404Ice CreamChristian502USD503000

Before loading the data to Qlik, I want to Load ALL coumns but only when the CODE column is between 200000 and 299999.

Once uploaded to Qlik, this should be the only visible data:

CompanyCodeItemOwnerPriceCurrencyAmountQ
5000200493OrangesMathew394EUR29500
5100224004ApplesLouis330USD300000

Thank you in advance.

Regards.

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Table:

LOAD Company,

     Code,

     Item,

     Owner,

     Price,

     Currency,

     AmountQ

FROM

[https://community.qlik.com/thread/230929]

(html, codepage is 1252, embedded labels, table is @1)

Where Code >= 200000 and Code <= 299999;


Capture.PNG

View solution in original post

2 Replies
sunny_talwar

May be this:

Table:

LOAD Company,

     Code,

     Item,

     Owner,

     Price,

     Currency,

     AmountQ

FROM

[https://community.qlik.com/thread/230929]

(html, codepage is 1252, embedded labels, table is @1)

Where Code >= 200000 and Code <= 299999;


Capture.PNG

patriciousa
Creator II
Creator II
Author

Thank you Sunny.