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: 
Not applicable

Selecting a value inside an excel cell

hey

i'm kind of new to qlikview, so any help would be much appreciated.

the problem i have is that in the excel sheet i have, the data i need is written with some other values.

for example, in the date field the data is written as " date= 02/03/14 " where as i just need the  02/03/14 part...

is there any way to extract it?

thankyou in advance

cheers

1 Solution

Accepted Solutions
nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hi,

this can be done, please have a look on below mentioned script.

load Datefield,

        Right(Datefield, 😎 as NewDate,

From TABALE_NAME;

hope this will help you.

-Nilesh

View solution in original post

9 Replies
mato32188
Specialist
Specialist

U can use

date#(right([Your Date Field], 8), 'DD/MM/YY') as Date

ECG line chart is the most important visualization in your life.
nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hi,

this can be done, please have a look on below mentioned script.

load Datefield,

        Right(Datefield, 😎 as NewDate,

From TABALE_NAME;

hope this will help you.

-Nilesh

Not applicable
Author

subfield(Datefield,"=",2)

Anonymous
Not applicable
Author

Hi,

Use this.

= date(right(date,10),'DD/MM/YY')

Not applicable
Author

use this in your load

Date(Date#(subfield(Datefield,"= ",2),'DD/MM/YYYY'),'DD/MM/YYYY') as CorrectDate  //If space is there after =

Otherwise

Date(Date#(subfield(Datefield,"=",2),'DD/MM/YYYY'),'DD/MM/YYYY') as CorrectDate

Not applicable
Author

thankyou very much.. ill try them all

Not applicable
Author

thankyou very much.. ill try them all

Not applicable
Author

thankyou very much.. ill try them all 

Not applicable
Author

thanks...