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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tomas12344
Helper II
Helper II

Power BI Power query - check if query is folded

Hi All

Customer is using SAP BW Connector to download data in import mode to PBI. This proces is quite long and we need to check, if the query is folded to SAP native query.

Have checked in Power Query editor, that native query is available and could be displayed and also in the top left corner (of the previe table) the flag is that the query should be folded.

 

The question is, what is the best way to confirm that the query is folded? (the colleagues form the customer dont know where to find the logs from SAP, and i'm not familiar with SAP).

Have used the diagnostic tool in power query editor, where i found some row with Query Execution and query in the Data Source Query column. Is this sufficient for control of the folding?

What about SQL Profiler? Which event to look for in the trace?

Or is there any other tool?

thank you

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @tomas12344 ;

 

vyalanwumsft_0-1666947243789.png

Then you can use the second method to see if View Native Query is grayed out.


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

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @tomas12344 ;

 

vyalanwumsft_0-1666947243789.png

Then you can use the second method to see if View Native Query is grayed out.


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

v-yalanwu-msft
Community Support
Community Support

Hi, @tomas12344 ;

You could Go by looking for the indicator light.
Query folding indicators use an underlying query plan, and require it to be able to get information about the query to report it. Currently the query plan only supports tables, so some cases (lists, records, primitives) won't report as folding or not. Similarly, constant tables report as opaque.

vyalanwumsft_0-1666254717305.png

Query folding indicators in Power Query - Power Query | Microsoft Learn

vyalanwumsft_1-1666254880704.png


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

@v-yalanwu-msft 

thank you for answer, but currently i dont use Power Query online, only Desktop.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors