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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Split a file

Hello,

I have an Excel file with budget data and for each customer is there one line with

one column for each month. How do I load this file to get one record pro month?

This is the infile:

splitbudget1.png

This is what I would like to get:

splitbudget2.png

kindly

Håkan

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi Håkan,


You can use cross table option to get the above result.


Data:

CrossTable(Month, Amount)
LOAD Customer,
Jan,
Feb,
Mar,
Apr
FROM
[Your Excel File]

(ooxml, embedded labels, table is Sheet1);


I have attached a sample file for your reference.

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Hi Håkan,


You can use cross table option to get the above result.


Data:

CrossTable(Month, Amount)
LOAD Customer,
Jan,
Feb,
Mar,
Apr
FROM
[Your Excel File]

(ooxml, embedded labels, table is Sheet1);


I have attached a sample file for your reference.

Not applicable
Author

Thanks for a very fast and correct answer.

kindly

Håkan