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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors