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: 
bharani8
Creator III
Creator III

Load only few values of an column.. not all

Hi Experts - I have a below data

Fruits

Apple

Orange

Grape

Mango

Banana

I just need to load Apple & Grape alone.. Please help me how can i get this..

22 Replies
bharani8
Creator III
Creator III
Author

My Data in script is like

LOAD SALES_PROD_W_OPTION_NR,

     PART_DN,

     LOCAL_STD_COST_AM,

     ISO_CURRENCY_CD,

     CURRENCY_RATE,

     USD_STD_COST_AM,

     PRODUCT_LINE_CD,

     PROD_LINE_NM,

     FRUIT

FROM

C:\Users\Public\Desktop\Reports\CSV_Files\WW_IPG_INVENTORY_WEEKLY_HISTORY.csv

(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

STORE IPG_Inventory INTO ;

Where will i use that now?

Anil_Babu_Samineni

try here

LOAD SALES_PROD_W_OPTION_NR,

    PART_DN,

    LOCAL_STD_COST_AM,

    ISO_CURRENCY_CD,

    CURRENCY_RATE,

    USD_STD_COST_AM,

    PRODUCT_LINE_CD,

    PROD_LINE_NM,

    FRUIT

FROM

C:\Users\Public\Desktop\Reports\CSV_Files\WW_IPG_INVENTORY_WEEKLY_HISTORY.csv

(txt, codepage is 1252, embedded labels, delimiter is ',', msq) Wildmatch(field, 'value1','value2');

STORE IPG_Inventory INTO ;

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
bharani8
Creator III
Creator III
Author

i see script error.. Garbage after statement

Anil_Babu_Samineni

My bad, Missed Where condition

LOAD SALES_PROD_W_OPTION_NR,

    PART_DN,

    LOCAL_STD_COST_AM,

    ISO_CURRENCY_CD,

    CURRENCY_RATE,

    USD_STD_COST_AM,

    PRODUCT_LINE_CD,

    PROD_LINE_NM,

    FRUIT

FROM

C:\Users\Public\Desktop\Reports\CSV_Files\WW_IPG_INVENTORY_WEEKLY_HISTORY.csv

(txt, codepage is 1252, embedded labels, delimiter is ',', msq) Where Wildmatch(field, 'value1','value2');

STORE IPG_Inventory INTO ;

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
bharani8
Creator III
Creator III
Author

Yes i got hat now... What if i need to do same for one more field?

Anil_Babu_Samineni

Why not?

Where Wildmatch(field, 'value1','value2') and WildMatch(field1, 'value1','value2')

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
bharani8
Creator III
Creator III
Author

Thanks a lot for taking your precious time to explain this!! Appreciate it!!

Anil_Babu_Samineni

I would suggest you to Buy Cook book, This may helps you lot and lot as i feel

Note - Please mark as Helpful over thread that may helps for next landing persons

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
PrashantSangle

Just for curiosity, What is wrong in my answer???

Regards,

Prashant

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
arvind_patil
Partner - Specialist III
Partner - Specialist III

Me too.