Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Splitting and Put into Column

Good Day Everyone,

     Can i have an Idea regarding this Problem.

Sample Data. This sample data in 1 date only 1/1/2013

EmployeeScheduleTime In-Out
JohnTimeIn8:00
MarkTimeIn8:10
JessTimeIn8:15
JohnTimout12:00
MarkTimeout14:00
JessTimeout15:00

And the output for Qlikview is like this

EmployeeTimeInTimeOut
John8:0012:00
Mark8:1014:00
Jess8:1515:00

Your Response is Highly Appreciated.

Regards,

raem.paks

7 Replies
sivarajs
Specialist II
Specialist II

if(wildmatch(Schedule,'*TimeIn*'),Time In-Out) as TimeIn

if(wildmatch(Schedule,'*Timeout*'),Time In-Out) as TimeOut

Not applicable
Author

Good Day,

Is this can be Done on Chart Table or Pivot Table?

sivarajs
Specialist II
Specialist II

Yes you can do, something like

Aggr(if(WildMatch(Schedule,'*TimeIn*'),[Time In-Out]),[Time In-Out],Employee) as TimeIn

er_mohit
Master II
Master II

hii

see the attached file

hope it helps

somenathroy
Creator III
Creator III

Hi,

At expression level for Charts(Straight or Pivot), write

 

Only({<Schedule={'TimeIn'}>}[Time In-Out]) 

and

Only({<Schedule={'TimeOut'}>}[Time In-Out])

Please note also that it has been considered that 'TimeOut' would be the right word used.

Regards,

Som

SunilChauhan
Champion II
Champion II

see the attached file

hope this helps

Sunil Chauhan
Not applicable
Author

you just need left join ...

a:

Load

Emp,timein-Out as Time IN

from ...

where (match(Schedule,TimeIn)

Left join

Emp,timein-Out as Time OUT

from ...

where (match(Schedule,Timeout)