Forum Discussion

A_Yao's avatar
A_Yao
Frequent Visitor
1 year ago
Solved

OData causes massive data load (Especially with nested Expand)

I am aiming to use OData to automate the process of updating data for a Power BI dashboard from a Dynamics 365 instance. Currently, we simply use a filtered view and download it as an excel file, bef...
  • pankajnamekar25's avatar
    1 year ago

    Hello A_Yao 

    To improve OData performance in Power BI, avoid using nested $expand as it leads to large and complex backend queries that significantly slow down data loading. Instead, load related tables separately and merge them within Power Query. Always use $select explicitly not just for the main table but also within expanded entities to limit the number of fields retrieved. Applying $filter early in the query helps reduce the number of rows before they reach Power BI. If available, it's better to use the Dataverse connector, which is optimized for performance and handles queries more efficiently than OData. Additionally, turning off background data previews in Power BI can prevent unnecessary data loading during report development.

     

     

    Thanks

     Pankaj Namekar | LinkedIn

    If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.