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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator III
Creator III

Need Help

Hi Community,

I have excel data source, but i have junk text in Excel sheet..

    

ToolsCategory NameCat Cost
CategoryCost
Sql ServerA3000Sql Cost
TableauB1000Tableau cost
Qlikview Excel sheet C500QV Cost
SpotfireD200Sp
SplunkE1430SP12
Mango DBF835MDB

I have to load only two columns Category and Cost..  (Red Text Data)

Thanks in Advance...!!!!

3 Replies
Kushal_Chawda

try this

LOAD F1 as Tools,

     Category,

     Cost,

     F4 as Remark

FROM

[Book1.xlsx]

(ooxml, embedded labels, header is 1 lines, table is Sheet1);

lironbaram
Partner - Master III
Partner - Master III

hi

i attach are a qv model and excel file

the qv script  looks like this :

Data:

LOAD F1  AS Tools,

     Category,

     Cost

FROM

[..\Users\Liron\Desktop\Book2.xlsx]

(ooxml, embedded labels, header is 1 lines, table is Sheet1);

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Paul,

As you can see from the two other suggestions, you can list which fields you want to take.  As you only want two columns in your data model simply exclude everything other than Category and Cost.

You can also pick fields in the Wizard when building your script.  Next to each fieldname is a small X.  Simply click this next to the fields you want to leave out.

Hope that helps.

Steve