Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Naresh1
Contributor III
Contributor III

First value from field

Hi All, 

I have opening balance field in that opening balance  values are 10,000 & 22,000 & 33,000 &..... But I want to show opening balance field  first value(10,000) as separate field

How can I do this in script, can any one tell me

Regards,

naresh

1 Reply
Durgadevikumar
Partner
Partner

Hi Naresh,

Try this one,

A:
LOAD Id,
Date,
Sales,
[Opening balance]          // Your field already loaded
FROM
[C:\Users\770841\Desktop\top 10 sales.xlsx]
(ooxml, embedded labels, table is Sheet1);

Load
[Opening balance],
Peek([Opening balance],0) as new_Field   // Now it gives the first value
Resident A;

Hope you are understanding

Regards,

DurgadeviKumar