Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MAPPING WITH FUNCTIONS

Hi can anyone pls suggest whether the below mentioned script is possible in qlikview also suggest me if there is any alternative for the same

MAP:

Mapping

LOAD PLANT,

     MAX(Amount)

FROM

C:\Users\Admin\Desktop\Book1.xlsx

(ooxml, embedded labels, table is Sheet1);

Thanking You

Vinayagam

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

It is not possible without using group by function as under:

MAP:

Mapping

LOAD PLANT,

     MAX(Amount) as Amount

FROM

C:\Users\Admin\Desktop\Book1.xlsx

(ooxml, embedded labels, table is Sheet1)

group by PLANT;

View solution in original post

4 Replies
Not applicable
Author

Hi,

It is not possible without using group by function as under:

MAP:

Mapping

LOAD PLANT,

     MAX(Amount) as Amount

FROM

C:\Users\Admin\Desktop\Book1.xlsx

(ooxml, embedded labels, table is Sheet1)

group by PLANT;

Colin-Albert

You need to add a group by clause.

MAP:

Mapping

LOAD PLANT,

     MAX(Amount)

FROM

C:\Users\Admin\Desktop\Book1.xlsx

(ooxml, embedded labels, table is Sheet1)

Group by PLANT ;

SunilChauhan
Champion II
Champion II

its need group by Plan in from

i mean your

load

mapping

Load PLANT,

Max(Amount) as MaxAmount

from above path

group by PLANT;

hope this helps

Sunil Chauhan
Not applicable
Author

Thanks Friends for the valuable response ... Thank You