Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Pomna
Creator III
Creator III

Temp Table

I need help figuring out what am doing wrong here. Below is my code but I keep getting the error message . Thanks

Pomna_0-1607538509499.png

 

 

[Role Group Goals Temp]:
Concatenate
Load
if(Mapped = 'N',
[Role Name] & '|' & ApplyMap(' Nation Name to National Office',[ Nation Name],'MSS') & '|Non-SPT'
,%RoleGroupNationalOffice) as %RoleGroupNationalOffice,
ApplyMap('Numeric Role Code Sector Map',Text([Role Code Num])) as Sector,
ApplyMap('Numeric Role Code Segment Map',Text([Role Code Num])) as Segment,
if(Mapped = 'N','Non-SPT','Q' & Ceil(Num(Month(Date([Applicant Submit Date])))/3)) as Quarter,

[Role Group Mapped] as [Role Group],
ApplyMap('Nation Name to National Office',[Nation Name],'MSS') as NationalOffice,
num('0') as Goals
Resident [Applicants]
where not exists (TestMatch,[%RoleGroupNationalOffice])
//and not ([Mapped]='N')
and not isnull([Applicant ID]);

 

[Role Group Goals]:
NoConcatenate
Load *
RESIDENT [Role Group Goals Temp]
WHERE Quarter <> 'Non-SPT';

Drop Table [Role Group Goals Temp];

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

that table is getting concatenated into another one. you script has concatenate. you should change it to no concatenate

"[Role Group Goals Temp]:
Concatenate

.."

View solution in original post

2 Replies
dplr-rn
Partner - Master III
Partner - Master III

that table is getting concatenated into another one. you script has concatenate. you should change it to no concatenate

"[Role Group Goals Temp]:
Concatenate

.."

Pomna
Creator III
Creator III
Author

Thank you. It worked!