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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Executing a SQL Query in Power BI Service

Hi All, 

 

I was wondering if anybody had already faced this problem.

 

I Have a report with one table that I import with a SQL Query. 

In the power BI desktop, the query uploads a table with 19 954 rows.

Sad_1-1643722539767.png

In the power bi service, after publishing the same report and doing a manual refresh, the same query upload a table with 160k rows.

Sad_0-1643722521129.png

I don't understand why i get this and how is this even possible ? 

Thanks 

Kind regards

Saâd

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Finally found the problem. 

 

It was more related to the administration of the Gateway. I do not have the same accesses as the Gateway which imports all the data.

 

Thanks for your help 

 

Kind regards

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Finally found the problem. 

 

It was more related to the administration of the Gateway. I do not have the same accesses as the Gateway which imports all the data.

 

Thanks for your help 

 

Kind regards

 

Anonymous
Not applicable

Hi @Anonymous ,

 

Please check if your query involves datetime filtering. Power BI Service use UTC time which might have a time difference with your local time.

 

Best Regards,

Jay

edhans
Super User
Super User

Are you sure your gateway is pointing to the same server/database? You could see this if you developed using Prod, but the gateway is pointing to Test.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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