cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SwiatLudzieTy
Helper I
Helper I

Execute PQ in PBI Service using Standard Gateway without executing it previously in PBI Desktop

Ciao Friends,

 

the title says it all but to be more specific.

I have big queries and I really do not want to import data to my local machine. Instead I want to:

1. Create a query in Desktop (w/o executing).

2. Upload the PBIX to PBI Service.

3. Connect to Gateway.

4. Execute the query overthere.

 

Is there any way to achive that? Thanks as always! Kamil

2 REPLIES 2
lbendlin
Super User
Super User

Use parameters to limit the amount of data you pull in the PBIX, and to remove that limit during service refresh.  Very similar to the Incremental Refresh mechanics.

Thanks @lbendlin, actually this is what I have figured out by myselft. The problem is this way you're left with TOP clause in SQL Statment which affects performance of query.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors