Forum Discussion
Local evaluation of Table.Join or Table.NestedJoin with key equality comparers is not supported
- 1 year ago
Thankyou, rohit1991, for your response.
Hi RuchiK,Thank you for your follow up.
Based on my understanding, you are on the right path by applying minimal transformations; however, even lightweight operations such as creating custom columns or handling null values can affect query folding. Query folding is crucial for the effective functioning of DirectQuery and Dataverse within the Power BI Service.
In addition to the response provided by rohit1991, please find below some additional steps that might assist in resolving the issue:
- In Power Query, right click each step and select View Native Query. If this option is disabled after a particular step, it indicates that query folding is broken, which can prevent joins from being pushed down to Dataverse.
- Reorder your transformations to preserve query folding. Ensure that steps such as custom column creation (SOW, Start Date, End Date), null replacements, and data type conversions are performed after any foldable steps like joins or column selections.
- If query folding breaks due to complex business logic, consider implementing calculated columns such as SOW or date logic using DAX, or alternatively, create these as custom fields directly within Dataverse.
- If full query folding cannot be maintained and there are concerns regarding performance or business logic, please consider switching those specific tables to Import mode.
Additionally, kindly refer to the following links for more information:
Understanding query evaluation and query folding in Power Query - Power Query | Microsoft Learn
Query diagnostics - Power Query | Microsoft Learn
Best practices when working with Power Query - Power Query | Microsoft LearnWe hope the information provided proves helpful in resolving your issue. Should you have any further queries, please feel free to reach out to the Microsoft Fabric community.
Thank you.
Hello rohit1991 ,
I’ve applied minimal transformations on top of the DirectQuery Dataverse opportunity table, including:
Selected only required columns for the report
Created a new SOW column based on statecodename (using actualvalue or estimatedvalue)
Added custom date columns like Start Date and End Date based on business logic
Handled nulls and converted data types where necessary
All transformations are lightweight to ensure compatibility with DirectQuery mode.