Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

SQL TEMP TABLE NOT WORKING IN PBI SERVICE REFRESHES

Dear all, 

 

Has anyone faced an issue where a temp table could not be refreshed in PBI service? I have a basic sql query with one temp table that works perfectly in PBI desktop, but once uploading to PBI service, it always seems to fail with the below error:

 

Pedro_Okazaki_0-1679419989800.png

 

My understanding is that if it is working on PBI desktop but not on the service, since it is a on prem gateway, the issue may be related to the gateway. On the other hand , if I do not create a temp table and just do a simple select into the table, there is no issues with the refresh.

 

What can be the issue?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

My understanding is that if it is working on PBI desktop but not on the service, since it is a on prem gateway, the issue may be related to the gateway.

Correct.  However the issue is not with the temp table. The issue is that the user of the gateway's connection does not have permission to access the view.

View solution in original post

2 REPLIES 2
ryanbando
New Member

I am facing the same issue. Is there an alternative solution to avoid this?

lbendlin
Super User
Super User

My understanding is that if it is working on PBI desktop but not on the service, since it is a on prem gateway, the issue may be related to the gateway.

Correct.  However the issue is not with the temp table. The issue is that the user of the gateway's connection does not have permission to access the view.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.