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
LogBox
New Member

The order in which tables are run within the same dataset.

My report uses 5 tables in one dataset (the result of a MS SQL Server query), can I somehow determine the order in which the queries that fill the tables when updating are executed.

9 REPLIES 9
LogBox
New Member

The client needs to recalculate the data in the tables with each automatic update or manual, to immediately have operational information in Power BI

In that case I would suggest you use Direct Query mode for these data sources.

Direct Query is not suitable for us, because the client wants not only to get data from the database, but to recalculate the data in the source database upon request for a BI update. At the same time, the data is calculated according to a complex algorithm by database procedures and the data in these database tables depend on each other, so they need to be recalculated in a certain order.

Then ask them to create a view in the database that represents the result of all these complex calculations. Let Power BI connect to the view.

and how the view will help solve the problem of the order of starting the filling of tables?

with the view(s) it doesn't matter any more in which order you fill the tables - you can do it in parallel.

 

You are shifting responsibility for data integrity to the data source.

But we are so responsible for the data source as well. Is it possible to solve the problem of the order of execution of queries when updating, using data flows?

Technically yes, but chaining dataflows is considered bad practice.

 

You may be trying to solve the wrong problem.

lbendlin
Super User
Super User

Please explain why you need that.

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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