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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.