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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
shmulikvarsano
Frequent Visitor

double loading when source = table

I have two tables:
Table1 that load many XML files from folder and its take some time.
I have table2 and the source = table1.
The problem is that now all the XML files are loaded twice and the load time of the project is double himselfe
how can i fix this ?

8 REPLIES 8
v-yuezhe-msft
Employee
Employee

@shmulikvarsano,

Do you mean that the data of the two tables are loaded into Report View when you click "Close&Apply" in Query Editor? If so, this is expected behavior. Unless you uncheck "Enable load" for Table2 in Query Editor, the data of Table2 will be loaded into Report View.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Table 1 load 300 XML file from folder and it take 10 minute. then I do some work on the data.
The source of table2 is table1 and now all the process take 20 minthe.
I see no reason why all the XML file loaded twice because I expect that table2 will take the data from the end of table1 and not from the beginning of table 1.

 

thanks

@shmulikvarsano,


Please review the following similar thread about this behavior.

https://community.powerbi.com/t5/Desktop/How-to-Improve-Query-Reference-performance-for-large-tables...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for all the information. but i still feel that i have no good solution to my problem.
1. my question was on loading time and not run query time.
2. because i do lots of work on table 2 I cant use the solution of create calculated tables on the reporting.
3. I was expected that my tablet 2 will just take the data from the last step of table 1 and not start all the steps of table 1 from the beginning.

4. becose table 2 depend on table 1 there is no reason why they run parallel. table 2 should start run only when table 1 finished her work.

 

@shmulikvarsano,

Do you mean that the load time from Query Editor to Report View in Power  BI Desktop? If so, this is by design. If not, please post a screenshot about your scenario.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi. Look at the file attached. as we can see the two table load parallel. so all the XML file loaded twice. this happen in the query editor and also in the power bi desktop.
The source of table 2 is table 1 to table 2 should behave similar to a view in SQL.

Thanks.p4.PNGp1.PNGp2.PNGp3.PNG

@shmulikvarsano,

The behavior you describe is by design. Unless you uncheck "Enable load" option or "Include in Report refresh" option for one of the tables, the queries will load twice.

1.JPG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank for your answer.
I still don't see the reason for this behavior.
but if it's by design i will live with this.

Thanks

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors
Top Kudoed Authors