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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
captainlaw
Microsoft Employee
Microsoft Employee

Query Dependencies - Execute Queries In Custom Order

Hello PBI Experts, I'm trying to figure out if it's possible to change Query Dependencies in Desktop?  I opened Query Dependencies, but I cannot change it.  I would like to execute queries sequentially but cannot do so at the moment.

 

Thanks!

4 REPLIES 4
Anonymous
Not applicable

I have the same issue - I need to run queries in a particular order. Is there a way to do it? 

Eric_Zhang
Microsoft Employee
Microsoft Employee


@captainlaw wrote:

Hello PBI Experts, I'm trying to figure out if it's possible to change Query Dependencies in Desktop?  I opened Query Dependencies, but I cannot change it.  I would like to execute queries sequentially but cannot do so at the moment.

 

Thanks!


@captainlaw

You could reference this thread Query Dependencies.

By the way, may I know why the execution order matters in your case?

The order matters because my first query is a sproc and my second query is a view that points to the result of the sproc.

I'll look into your other reference forum.

The other link you referenced is using json document, which I'm not sure what M function I should use to ensure first query occurs before the second.  Can you clarify a bit with one sentance on how to go about?  

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.