How do I load an Excel table into QlikView ?

Hi all,

I'm trying to load data (held in an Excel 2010 named table) into a QlikView table. However, the LOAD statement only recognises the sheetname (eg Sheet1$), and not the table.

Is there any way I can reference the Excel table name to pull in this data ?

Thanks
Toco
TocogroupAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
All you need to do is as the named range to the query:
LOAD .... FROM $ Sheet1.MyNamedRange

You could also use $a3:$g1678 for instance

If that doesn't work then try loading your excel through odbc as I know it works with the select sql statement
0
TocogroupAuthor Commented:
OK.

If my named Excel table is called Budget_Table, how would that fit in with my code, for example,

LOAD .....

FROM
    [..\Data\Budget.xlsx]
    (ooxml, embedded labels, table is Sheet1$);

I can't get it to work
0
RobOwner (Aidellio)Commented:
This is definitely one way to do it using odbc .  I've got a named range "DataRange" that you can see is visible in the wizard

screenshot of odbc
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

RobOwner (Aidellio)Commented:
In fact it's as easy as this when using ODBC:
ODBC CONNECT32 TO [Excel Files;DBQ=C:\folder\excel.xlsx];

table1:
SQL SELECT *
FROM `C:\folder\excel.xlsx`.`NamedRange`;

table2:
SQL SELECT *
FROM `C:\folder\excel.xlsx`.`Sheet1$A1:C400`;

Open in new window

0
RobOwner (Aidellio)Commented:
As far as I know, it can't be done with the LOAD command.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TocogroupAuthor Commented:
That's great. Thanks for your help Rob.
0
RobOwner (Aidellio)Commented:
No problem.  I'll keep a look out for any more questions.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.