Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set analysis to filter string column values

Hi All,

I have the below current result and just need the desired result with a different format so if someone could assist with the set analysis or the best way to do it. I am trying to avoid multiple resident load and was wondering if there is some set analysis logic for this.

Current Result

CustomerIDLocationDateTime
1001Area1

2015-08-28 0800

1001Area22015-08-28 1000
1001Area32015-08-28 1100
1001Area12015-07-20 1200
1001Area22015-07-20 0100
2001Area12015-05-01 0300
2001Area42015-05-04 0400
2001Area52015-05-07 0700

Desired Result

I am separating the Area1 into one column, Area2 & Area3 into another, and finally Area4 & Area5.

CustomerIDLocationDateTimeLocationDateTimeLocationDatetime
1001Area1

2015-08-28 0800

Area22015-08-28 1000--
1001Area12015-07-20 1200Area22015-07-20 0100--
1001--Area32015-08-28 1100--
2001Area12015-05-01 0300----
2001----Area42015-05-04 0400
2001----Area52015-05-07 0700

Thanks a lot.

1 Reply
Anonymous
Not applicable
Author

Can Match pick the specific location and put it in different columns as desired above? If someone could show me how to do it, that will be very helpful. Or, may be a tutorial link that does the same thing. Thanks.