I have three SQL queries results saved in batch in three temporary tables in a SQL Server database but these temp table seems to be not available in tableau while connecting to the database from tableau.
For example:
Create a temp table #p
CREATE TABLE #p
(
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
Insert values into #p from main table
insert into #p
select *
from Persons
where PersonID in (1, 2, 3);
After connecting to the SQL Server data source in tableau the #p temp table is not showing up in the table list. Is there any possible way I can use the temp table in tableau for dashboard? If not kindly suggest some alternatives on how to make these temp table available in dashboard.
I am struggling to solve this issue for past few days so hope to hear some suggestions from you guys soon..thank you!

