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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] How to use SQL query as input to TMap

I'm using TIS 3.0.4. I've created a SQL query to join the information from 2 tables and I'd like to feed the results to a tMap. I could use the lookup function, but it loads a couple of million rows from the lookup table and my query works much more quickly.
How do I take the output from the query and use it for further processing? Using it as a tPostgresqlInput doesn't seem to work.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello Chyams
You are using a connection from repository, change 'repository' to built-in on propert type and define the schema to map the query column.
Best regardds

shong

View solution in original post

5 Replies
Anonymous
Not applicable

Hello
How do I take the output from the query and use it for further processing? Using it as a tPostgresqlInput doesn't seem to work.

Why do you say tPostgresqlInput doesn't seem to work? Can you upload a screenshot of your job?
Best regards

shong
_AnonymousUser
Specialist III
Specialist III
Author

I created a qwuery to pull data from 2 tables: appointments and vehicles. When I pull the query into a job and as a tPostgesqlInput I'm not seeing the fields from the query. It's using the definitions from the first table listed in the Mavmail schema - account_manager_associations.
_AnonymousUser
Specialist III
Specialist III
Author

Shong - do you have an answer?
Anonymous
Not applicable

Hello Chyams
You are using a connection from repository, change 'repository' to built-in on propert type and define the schema to map the query column.
Best regardds

shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi Shong,
Thanks for your help. That fixed my problem.