Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mapping or anyother Solution

Hi,

I have the following data which has four colomns Application_Id,  Originating_NSC, Originating_User_Id and Source.

Data:

Application_IdOriginating_NSCOriginating_User_IdSource
1776499693010573445CALL                       
1793367393010573352INTERNET                   
1747015593010573422PREV CUSTOMER
1015957993010573339INTERNET                   
1007621093010558900                           
1255537893010558900                           
1539985493010558900                           
1876714593010558900                           
1398718093010558900                           
135862339323459964
1410267293515859227
1261511093242650383
1786742093104713044
1982467393106386198
1419781493734715498
1900321893621920202
1978270793638360458
1572075093104713044
1234567893551482057

Basically, all applications are created through four channels. I need to use the following logic based on the above three colomns to get applications created through each channel i.e. 1). Online - Internet Banking, 2). Online – Web, 3). Direct and 4). Branch.

Originating_NSC = '930105' AND Created_by_Staff_Id = '58900' THEN 'Online - Internet Banking'

Originating_NSC = '930105' AND Source = 'INTERNET' then 'Online - Web'

Originating_NSC = '930105' AND Created_by_Staff_Id NOT= '58900' THEN 'Direct'

Originating_NSC NOT = '930105' THEN 'Branch'

I have a seprate file of Originating_NSC  which shows Branch and Region of a particular Originating_NSC as below. All Originating_NSC are fine and easy to use mapping but problem is only if Originating_NSC = 930105 because this Originating_NSC could be 1). Online - Internet Banking, 2). Online – Web or 3). Direct based on the above logic. Therefore I included Created_By_Staff_ID and Source to get these three

Originating_NSCCREATED_BY_STAFF_IDSourceBranchRegion
937452 Tuam RoadMidwest
937436 Newcastle RoadMidwest
930148 CastletroyMidwest
937401 SalthillMidwest
937150 TuamNorth_West
936138 MacroomSouth_West
934194 Western RoadCork_Central
930105 DirectDirect
93010558900 Online - Internet BankingOnline - Internet Banking
930105 InternetOnline - WebOnline - Web

Any idea how can I get no of applications received via 1). Online - Internet Banking, 2). Online – Web, 3). Direct and 4). Branch/Region based on the Data table . Thanks

1 Reply
Anonymous
Not applicable
Author

Hi,

I think the logic is clear, but could you post an Excel with 3 sheets ?

First sheet with the data

           Application_Id, Originating_NSC, Originating_User_Id and Source

The second with

           Originating_NSC, CREATED_BY_STAFF_ID, Source, Branch and Region

And a third with the results you expect to get.

This would explain a lot to me (and others ?).

Regards,

Paul