Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Dynamic data load with titles names

Hi All,

I want to load the data dynamically from the files likes Sales Data - 2015.xlsx,Sales Data - 2016.xlsx.

Need to load the first sheet name is like Sales Data - 2015,Sales Data - 2016.

Last two columns in the files are with Year names like Sales 2015,Sales 2016.

Please check the attached file.

I want to do like this but not sure how to achieve .

Please advise. jagan mohan rao appala MAYIL VAHANAN RAMASAMY Celambarasan Adhimulam

Sales:

LOAD ColumnA as Ename,

     ColumnB as Year,

     ColumnC as Month,

     ColumnD as Sales,

     ColumnE as Target

FROM

[ExternalData\Excel\Sales Data - 2015.xlsx]

(ooxml, embedded labels, table is [Sales-2015]);

1 Solution

Accepted Solutions
MayilVahanan

Hi

Are you looking like this

Sales:

LOAD A as Ename, B as Year, C as Month, D as Sales, E as Target FROM

[Sales Data - *.xlsx]

(ooxml, no labels)

Where B <> 'Year';

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

4 Replies
Anonymous
Not applicable

You can do like this?

Check the attachment

tamilarasu
Champion
Champion

Hi,

Check the attachment.

MayilVahanan

Hi

Are you looking like this

Sales:

LOAD A as Ename, B as Year, C as Month, D as Sales, E as Target FROM

[Sales Data - *.xlsx]

(ooxml, no labels)

Where B <> 'Year';

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
jagan
Luminary Alumni
Luminary Alumni

Hi,

In addition to this you can add FileName() for reference, it helps while testing.

Sales:

LOAD A as Ename, B as Year, C as Month, D as Sales, E as Target,

FileName() AS FileName

FROM

[Sales Data - *.xlsx]

(ooxml, no labels)

Where B <> 'Year';