Please wait, loading...

 

Get Data using SQL Server o Microsoft dynamics 365 Online in Power BI and Embed the Power BI report as Dashboard in Dynamis 365

June 6, 2020

Check3: Create a Report in Power Bi with SQL Server Connection and Embed the Power BI report as Dashboard in Dynamis 365

One of the best parts which we check above is Relationships are correctly shown as it is in CDS

  • 2nd is adding lookup, Options field, regarding field all will give Name /Label and values both as separate Fields , for which we need to do some extra work when getting data from Odata.
  • Below I have selected Lookup and Options fields as Name and ID
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb6726ab9cd.png?fit=1832%2C784&ssl=1

Check4: Publish Report in Power BI Destop Client

  • We will use the above report itself to embed in Microsoft dynamics 365
  • We have added only account and contact entity with some field to demonstrate how Relationship are pre-build and we get Lookup name and Id
  • Now we will publish the report, select the workplace
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb81d545c56.png?fit=1747%2C863&ssl=1

Check5: Pin Report as Dashboard in Power BI Portal

  • Once published, we will edit credentials as OAuth
  • Navigate to My Workspace -> DataSets and edit credentials
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb8397d89e8.png?fit=1925%2C909&ssl=1
  • Selecting Authentication Method as “OAUTH”
  • Remember to enable Below.
    End users use their own OAuth2 credentials when accessing this data source via DirectQuery.
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb85a1c3a8c.png?fit=1628%2C860&ssl=1
  • Now we will ping Report as live so it can be used in dynamics 365
  • Navigating to report from workspace
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb8661ecd4c.png?fit=1918%2C579&ssl=1
  • Once pinned, we can see a pinned item in DashBoard, and will also be available as a dashboard in D365
  • I have changed name while pinning it as a dashboard
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb86fe3d722.png?fit=1916%2C489&ssl=1

Check5: Embed the Power Bi Dashboard in Dynamics 365

  • Navigating to D365 Dashboard
  • Clicking NEW, Either select Microsoft dynamics 365 or Power Bi Dashboard.
  • Select Layout

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb8815399a8.png?fit=1715%2C782&ssl=1
  • Select Power BI Tile
  • All our Dashboard in Selected workspace will be available
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb88cde6f4d.png?fit=1897%2C918&ssl=1

TESTING: Power BI Dashboard is added to D365

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edb898a7dd33.png?fit=1919%2C886&ssl=1
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651&ssl=1
Microsoft Dynamics Community Profile

Learn more