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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.