Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

excel column selection

hi its urgent pls Help for me....

there is no  Column header in excel...

I need to select column in excel

A B C D E F G H I J K L default column in excel. how to fetch default column wise data in excel

1 Solution

Accepted Solutions
bgerchikov
Partner - Creator III
Partner - Creator III

Sarath,

Assume you're loading one invoice at the time and Invoice format is the same for all:

Directory

;

Invoice:



LOAD Distinct



   
B as [S.No.]



FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where Previous(Previous(trim(B)))='S.No.'

;



join load Distinct

 

    
J  as InvoiceNo

FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where trim(I) = 'No.'

;



join LOAD Distinct



    
date( J,'MM/DD/YYYY') as Date



FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where trim(I) = 'Date'

;

Thanks!

View solution in original post

12 Replies
Anonymous
Not applicable
Author

Use the following system to refer to the column

LOAD @1,

     @2,

     @3,

     @4,

     @5,

     @6,

     @7,

     @8,

     @9

FROM

    "your excel file"

Here 1,2,3,4.... refer to the column number of your excel sheet.

Anonymous
Not applicable
Author

how to merge the column

Not applicable
Author

Do you mean you want the data from columns A-L all in one column?

Anonymous
Not applicable
Author

LOAD

      @1 & @2 & @3 as Field123,

...

FROM

    "your excel file"

Anonymous
Not applicable
Author

my Real requirment is

I Attached Invoice Excel sheet

I need to export another excel format

for example   SNo       InvoiceNo                      Date                                                                          

                    1       5142 / 11-12 -PI               12/5/2011                              

sebastiandperei
Specialist
Specialist

Yes, it would be better...

I think this invoice cames from a DataBase (SQL, ACCESS, etc..), can you get access to this source?

bgerchikov
Partner - Creator III
Partner - Creator III

Sarath,

Assume you're loading one invoice at the time and Invoice format is the same for all:

Directory

;

Invoice:



LOAD Distinct



   
B as [S.No.]



FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where Previous(Previous(trim(B)))='S.No.'

;



join load Distinct

 

    
J  as InvoiceNo

FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where trim(I) = 'No.'

;



join LOAD Distinct



    
date( J,'MM/DD/YYYY') as Date



FROM

invoice.xlsx

(
ooxml, no labels, table is [sheet1 (2)])

Where trim(I) = 'Date'

;

Thanks!

Anonymous
Not applicable
Author

great  Boris Gerchikov

                              can U explain little bit more...and qvw file ..it makes more helpful for me i am a beginner in qlikview. also I need discription column,Rates

bgerchikov
Partner - Creator III
Partner - Creator III

Sarath,

you need the data located in 2 columns B and J, correct? To identify S.No. value in B column I used label "S.No." in the same column two rows above:

Where Previous(Previous(trim(B)))='S.No.'

For two other values I used labels located in column "I" at the same row.

In simple words I've selected value in column J based on the value in column I.