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: 
srujanaponnuru
Creator
Creator

straight table

Hi,

i have a source like this in excel.

 

Manager names
Carry, Jim
Pitt, Brad
Watson, James

Rao, Subba

i need a straight table in qlikview like the below as shown:

  

Primary Jim
Secondary

Carry

please suggest how to do.

17 Replies
HirisH_V7
Master
Master

Please post some sample data, it will be helpful to look more further. yup! you can exclude 'ID' field from your'e Straight table.

-Hirish

HirisH
“Aspire to Inspire before we Expire!”
srujanaponnuru
Creator
Creator
Author

Manager namesApplication name
Pinto, Noelabs
Patrick, Marie
Jim, carry
dfe
Subba, Rao
Noel, Pinto
gff
Brad, Pitt
Jim, Carry
gtr
Pinto, Noeleert
Patrick, Marie
Jim, carry
dfesdf
Subba, Rao
Noel, Pinto
dfesdfgghj
Brad, Pitt
Jim, Carry
v
Pinto, Noeldfehjilp
Patrick, Marie
Jim, carry
dfe677
Subba, Rao
Noel, Pinto
dfe345
Brad, Pitt
Jim, Carry
dfe234
Pinto, Noeldfe908
Patrick, Marie
Jim, carry
dfel;p
Subba, Rao
Noel, Pinto
dfe89;,
Brad, Pitt
Jim, Carry
dfeasd
Pinto, Noeldfeqwe
Patrick, Marie
Jim, carry
dfezxc
Subba, Rao
Noel, Pinto
dfe23415678
Brad, Pitt
Jim, Carry

dfe000

i created a search box in qlikview for application name. so when i click any application in search i need to get the table as shown:

say for example if i search an application "dfe" i need to get like this:

  

Primary nameMarie Patrick
Secondary nameJim Carry

please help

HirisH_V7
Master
Master

Is it like every app will have their ,Primary and secondary names or what , as i can see from the above data its not like that.

Please provide data in excel sheet,it will be helpful to look for  clear mapping.

HirisH
“Aspire to Inspire before we Expire!”
srujanaponnuru
Creator
Creator
Author

Manager names

Application name

Pinto, Noel

abs

Patrick, Marie
Jim, carry

dfesdf

Subba, Rao
Noel, Pinto

gf

Brad, Pitt
Jim, Carry

gt

Pinto, Noel

e

Patrick, Marie
Jim, carry

dfe123

Subba, Rao
Noel, Pinto

dfe456

Brad, Pitt
Jim, Carry

v234

Pinto, Noel

dfe567

Patrick, Marie
Jim, carry

dfe789

Subba, Rao
Noel, Pinto

dfetyuh

Brad, Pitt
Jim, Carry

dfenmj

Pinto, Noel

dfecvf

Patrick, Marie
Jim, carry

dfedftr

Subba, Rao
Noel, Pinto

dfesde

Brad, Pitt
Jim, Carry

dfegtyu

Pinto, Noel

dfeuoi

Patrick, Marie
Jim, carry

dfeawse

Subba, Rao
Noel, Pinto

dfenmjyd

Brad, Pitt
Jim, Carry

dfe12wsd

srujanaponnuru
Creator
Creator
Author

sorry cant give in excel. each application has two names.

when i search on application , the table should give me primary name as the first in that cell, and the other as secondary from the same cell.

HirisH_V7
Master
Master

Check the very first one, has only one name.

HirisH
“Aspire to Inspire before we Expire!”
srujanaponnuru
Creator
Creator
Author

which ever application name has one name , secondary name will be null.

HirisH_V7
Master
Master

Hi,

Check this,By using the provided data,In front end by selecting 'application name' you can look into 'primary and secondary' managers.

Splitting Field in straight table Loop-237640.PNG

At Script ,By Creating a loop for each 'Application Name' with the [Manager names] column,

Temp:

LOAD [Manager names],

     If(Isnull([Application name]),Peek([Application name]),[Application name]) as Appname,

     [Application name]

FROM

[Manger Names and apps.xlsx]

(ooxml, embedded labels, table is Sheet1);

Data:

NoConcatenate

Load [Manager names],

     Appname

Resident Temp;

Drop Table Temp;

For each Appname in New

Concatenate

New:

load

Concat([Manager names],':') as [New Manager names],

Appname

resident Data

Group by Appname;

Next;

Final_Table:

NoConcatenate

Load Appname,

     [New Manager names]

Resident Data Where [New Manager names]<>Null();

Drop Table Data;

HTH,

PFA,

Hirish

HirisH
“Aspire to Inspire before we Expire!”