Skip to content

Commit 487420b

Browse files
committed
Revised per 1847813
1 parent 7a7c0e8 commit 487420b

File tree

5 files changed

+38
-40
lines changed

5 files changed

+38
-40
lines changed

powerapps-docs/maker/common-data-service/data-platform-powerbi-connector.md

Lines changed: 38 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,82 @@
11
---
2-
title: Create a PowerBI report | Microsoft Docs
3-
description: Connecting to your data from PowerBI Desktop using the Common Data Service connector.
4-
author: lancedMicrosoft
5-
manager: kfile
2+
title: Create a PowerBI report using the Common Data Service connector | Microsoft Docs
3+
description: Connecting to your data from Power BI Desktop using the Common Data Service connector.
4+
author: Mattp123
5+
manager: kvivek
66
ms.service: powerapps
77
ms.component: cds
88
ms.topic: conceptual
9-
ms.date: 05/21/2018
10-
ms.author: lanced
9+
ms.date: 05/26/2020
10+
ms.author: matp
1111
search.audienceType:
1212
- maker
1313
search.app:
1414
- PowerApps
1515
- D365CE
1616
---
17-
# Create a Power BI report
18-
Common Data Service allows you to connect directly to your data using Power BI Desktop to create reports and publish them to Power BI. From Power BI, reports can be used in dashboards, shared to other users and accessed cross platform on Power BI mobile apps.
17+
# Create a Power BI report using the Common Data Service connector
18+
Common Data Service allows you to connect directly to your data using Power BI Desktop to create reports and publish them to Power BI. From Power BI, reports can be used in dashboards, shared to other users, and accessed cross platform on Power BI mobile apps.
1919

2020
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/PBIDesktop.png "Power BI Desktop")
2121

2222
## Prerequisites
2323

24-
To use Power BI with the Common Data Service, you need the following:
24+
To use Power BI with Common Data Service, you need the following items:
2525

2626
* Download and install Power BI Desktop, which is a free application that runs on your local computer. You can download Power BI desktop [here](https://powerbi.microsoft.com/desktop/).
2727
* Common Data Service environment with maker permissions to access the portal and read permissions to access data within entities.
2828

2929
## Finding your Common Data Service Environment URL
3030

31-
1. Open [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) and select the environment you're going to connect to and click the **settings gear** in the top right corner, and click **Advanced customizations**
31+
1. Open [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), select the environment you're going to connect to, select **Settings** in the top-right corner, and then select **Advanced settings**.
3232

33-
![Common Data Service Environment](./media/data-platform-cds-powerbi-connector/CDSEnv1.png "Common Data Service Environment")
33+
<!-- ![Common Data Service Environment](./media/data-platform-cds-powerbi-connector/CDSEnv1.png "Common Data Service Environment") -->
3434

35-
2. Click **Resources** under the Developer resources section which will open a new tab.
36-
37-
![Common Data Service Environment](./media/data-platform-cds-powerbi-connector/CDSEnv2.png "Common Data Service Environment")
38-
39-
3. Copy the root of the URL in the new tab, this is the unique URL for your environment. The URL will be in the format of **https://yourenvironmentid.crm.dynamics.com/** make sure not to copy the rest of the URL. Keep this somewhere handy so you can use it when creating your PowerBI report.
35+
2. In the new browser tab that opens, copy the root of the URL. This is the unique URL for your environment. The URL will be in the format of **https://yourenvironmentid.crm.dynamics.com/**. Make sure not to copy the rest of the URL. Keep this somewhere handy so you can use it when creating your Power BI reports.
4036

4137
> [!div class="mx-imgBorder"]
42-
> ![Common Data Service Environment](./media/data-platform-cds-powerbi-connector/CDSEnv3.png "Common Data Service Environment")
38+
> ![Common Data Service Environment](./media/data-platform-cds-powerbi-connector/CDSEnv3.png "Common Data Service environment URL")
4339
4440
## Connecting to Common Data Service from Power BI Desktop
4541

46-
1. Launch **Power BI Desktop**, if it's your first time you may be prompted with a Welcome screen or taken straight to a blank canvas - either way, click **Get Data** and select **More** to open the full list of data sources available for Power BI Desktop.
42+
1. Open **Power BI Desktop**. Select **File** > **Get Data** and then select **Get data to get started** to open the full list of data sources available for Power BI Desktop.
4743

48-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport1.png "Power BI Desktop")
44+
<!-- ![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport1.png "Power BI Desktop") -->
4945

50-
2. Click **Online Services** and **Common Data Service (Beta)** from the list of connectors. Click **Connect**.
46+
2. Type *common* in the **Search** box, select **Common Data Service**, and then select **Connect**.
5147

52-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport2.png "Power BI Desktop")
48+
> [!div class="mx-imgBorder"]
49+
> ![Power BI Desktop connect to Common Data Service](./media/data-platform-cds-powerbi-connector/CreateReport2.png "Power BI Desktop connect to Common Data Service")
5350
54-
3. Paste in your **Common Data Service Environment URL** into the **Server URL** field and click **Ok**. If this is your first time, you'll be prompted to log in using the same credentials you use to connect to Power Apps and Common Data Service.
51+
3. In the **Common Data Service** dialog box that appears, paste in your Common Data Service environment URL into the **Server Url** box and select **OK**. You might be prompted to sign in using the same credentials you use to connect to Power Apps and Common Data Service. Select **Connect**.
5552

56-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport3.png "Power BI Desktop")
53+
<!-- ![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport3.png "Power BI Desktop") -->
5754

58-
4. The Navigator will show you all entities available for your environment grouped into three folders. Expand the **Common Data Model** folder.
55+
4. The **Navigator** displays all entities available for your environment grouped into two folders.
5956

60-
* Common Data Model - these are standard entities which are commonly used and available in all environments as part of the Common Data Model.
61-
* Custom Entities - are entities that you have created or imported in your environment.
62-
* System - contains all entities in your environment, including the Common Data Model and Custom entities.
57+
* Entities - are standard entities and custom entities that you have created or imported in your environment.
58+
* System - contains all entities in your environment, including system entities.
6359

64-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport4.png "Power BI Desktop")
60+
<!-- ![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport4.png "Power BI Desktop") -->
6561

66-
5. Select the **Account** entity to see a preview of your data in the right pane, and click **Load**.
62+
5. Select the **Account** entity to see a preview of your data in the right pane. Select **Load**.
6763

68-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport5.png "Power BI Desktop")
64+
> [!div class="mx-imgBorder"]
65+
> ![Load account entity records](./media/data-platform-cds-powerbi-connector/CreateReport5.png "Load account entity records")
6966
70-
6. Your entity is now loaded into your report, and you can begin building reports, or repeat this process to add additional entities.
67+
6. Your entity is now loaded into your report, and you can begin building reports, or repeat the previous steps to add additional entities.
7168

72-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport6.png "Power BI Desktop")
69+
<!-- ![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport6.png "Power BI Desktop") -->
7370

74-
7. Click the **Name** field in Field panel to add a new visualization to your report canvas. You can now repeat this process and change visualizations to build your report.
71+
7. In the **Fields** pane, select the **name** field and then select the **numberofemployees** field. In the **Visualizations** pane, select **Pie chart**. This adds a new visualization to your report canvas.
7572

76-
![Power BI Desktop](./media/data-platform-cds-powerbi-connector/CreateReport7.png "Power BI Desktop")
73+
> [!div class="mx-imgBorder"]
74+
> ![Power BI Desktop visualization](./media/data-platform-cds-powerbi-connector/CreateReport7.png "Power BI Desktop visualization")
7775
7876

79-
## Using Option sets
77+
## Using option sets
8078

81-
Options sets are used in entities to provide a drop down list of values to a user in apps and flows. When using the Power BI connector option set fields will be presented as two columns to show both the unique value, and the display value.
79+
Options sets are used in entities to provide a drop-down list of values to a user in apps and flows. When using the Power BI connector option set fields will be presented as two columns to show both the unique value, and the display value.
8280

8381
As an example, if you had an option set on your entity called ApprovalStatus, you would see two fields in Power BI:
8482

@@ -94,13 +92,13 @@ As an example, if you had an option set on your entity called ApprovalStatus, yo
9492

9593
## Navigating Relationships
9694

97-
Relationships in Common Data Service require you to create a relationship within PowerBI desktop between the two entities using a GUID field, this is a system generated unique identifier that ensures relationships are created for the create records where ambiguity or duplication may exist with other fields. You can read more about managing relationships in Power BI desktop [here](https://docs.microsoft.com/power-bi/desktop-create-and-manage-relationships).
95+
Relationships in Common Data Service require you to create a relationship within Power BI desktop between the two entities using a GUID field, this is a system-generated unique identifier that ensures relationships are created for the create records where ambiguity or duplication may exist with other fields. You can read more about managing relationships in Power BI desktop [here](https://docs.microsoft.com/power-bi/desktop-create-and-manage-relationships).
9896

99-
While some relationships may be automatically created, you can still review and ensure the correct relationships are established when creating your report :
97+
While some relationships may be automatically created, you can still review and ensure the correct relationships are established when creating your report:
10098

10199
* The lookup field on the entity will contain the GUID of the record in the related entity.
102-
* The related entity will have a field in the format "[EntityName]id" which contains the GUID, for example Accountid or MyCustomEntityid
103-
* Using the PowerBI desktop Manage Relationships feature, you would create a new relationship between your lookup field, and the id field on the related entity.
100+
* The related entity will have a field in the format "[EntityName]ID" that contains the GUID, for example Accountid or MyCustomEntityid
101+
* Using the Power BI desktop Manage Relationships feature, you would create a new relationship between your lookup field, and the id field on the related entity.
104102

105103

106104
## Next steps
120 KB
Loading
94.4 KB
Loading
62.3 KB
Loading
295 KB
Loading

0 commit comments

Comments
 (0)