Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading spreadsheet column (headers) as one dimension

Given an Excel spreadsheet with the following layout:

DateTimeCompanyACompanyBCompanyC
1/2/2014 10:00:00 AM510
1/3/2014 05:00:00 AM

10

32
1/4/2014 12:20:00 AM352
1/5/2014 8:33:30 PM201

Is it possible to load the above sheet in a single load statement such that I end up with the following model:

Table1

DateTime

CompanyName
Data

In the above case I would expect the resulting table to have 12 rows of data. Or do I have to load each company separately?

1 Solution
3 Replies
Colin-Albert

Have a look at the CROSSTABLE function

Not applicable
Author

Perfect, thanks. I had a feeling it involved cross tables but the Help wasn't any Help. That blog post is just what I needed.