In this video I demonstrate how to connect to Dynamics 365 for Customer Engagement from Power BI and how to pull some Dynamics 365 data into our data model.
To do this I use the an Xrm ToolBox plugin named Power Query (M) Builder. A huge thankyou goes out to the developers of this tool as it has saved me many hours of work.
https://www.xrmtoolbox.com/plugins/PowerQueryBuilder/
source