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
tomas12344
Helper III
Helper III

Performance of referenced table

HI All

In power query i have created a query to SAP (SAP connector) = QUERY_A. This load is quite big. In PBI DAX i'm loading from this QUERY_A some data, which i want to move to M query, becuase i think the performance will be better.

 

The question:

What will happen, if in M query i create a duplicate copy of the QUERY_A - using reference - QUERY_B? Will be there two loads from SAP (both QUERY_A and QUERY_B), or just one which is the QUERY_A?

that means

[SAP->QUERY_A->QUERY_B], or [SAP->QUERY_A and SAP->QUERY_B]

thank you

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

You need to create a reference query not duplicate query. For reference query, only original query will be loaded. Hence, it will be

[SAP->QUERY_A->QUERY_B]

But if you create a duplicate query, then it would be

[SAP->QUERY_A and SAP->QUERY_B]

Thank you For the answer. Have you the same experience when using SAP BW and SAP Connector. 
I have done some test during the weekend, where the setup of the queries was like [SAP->QUERY_A->QUERY_B, QUERY_A->Query_C,....] (used reference for the other queries B, C,...). When processed only with query_a, refresh was 1hour, when with the other queries refresh was 8hours.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.