Skip to content

Commit cd8c35a

Browse files
authored
Merge pull request microsoft#60 from MattFarm/master
Docs updates to Dataflow version readme
2 parents 99009fc + 88086c9 commit cd8c35a

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

CustomAnalytics/DataFlowVersion/readme.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ Required - using Azure Synapse Link allows us to export significant telemetry fr
5656
1. Open your Power BI Workspace - New - Dataflow
5757
2. Select 'Attach a Common Data Model' folder
5858
3. Browse you Azure Data Lake container, and paste the URL of your 'model.json' file that describes your data.
59+
4. At present - there is a bug in Dataflows that causes the error "The credentials provided for the PowerBI source are invalid". The PBI team is aware of this and working on a fix, but in the interim, we need to apply a small workaround, which involves creating another Dataflow - we will call this **Dataflow 1a** that sits in between 1 & 2 (these steps will be removed when the bug is fixed):
60+
1. Open your Power BI Workspace - New - Dataflow
61+
2. Select 'Link tables from other dataflows'
62+
3. Log in and select Dataflow 1 - conversationtranscript
63+
4. In the PowerQuery editor, select the conversationtranscript table, and de-select 'Enable Load'
64+
5. Rename the conversationtranscript table to conversationtranscript_adls
65+
6. Create a new blank query, name it conversationtranscript, and in the source action for the query, set it to conversationtranscript_adls
5966

6067
2. Edit the DataFlow template
6168
1. [Find your Dataverse environment URL](https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-powerbi-connector#find-your-dataverse-environment-url), the URL will be in the format: https://yourenvironmentid.crm.dynamics.com/. You will just need the 'yourenvironmentid' part of the URL
@@ -69,16 +76,15 @@ Required - using Azure Synapse Link allows us to export significant telemetry fr
6976
4. Select Import Model
7077
5. Select the edited file 'PVA Analytics_Export_Transform.json'. Your DataFlow job should now be ready - test refreshing the data.
7178
6. You should be prompted for credentials, if not go to Settings -> Data source credentials and select organizational account. You can now login with an Azure Active Directory account that has access to the Dataverse environment.
72-
7. Whilst in Settings for your DataFlow, be sure to select 'Enhanced compute engine settings' and select 'On'.
73-
8. You will likely want to refresh the content periodically, go to Settings -> Scheduled refresh and select the preferred period.
7479

75-
4. Add the Dataflow 1 version of conversationtranscript to Dataflow 2 (chaining them together)
80+
4. Add the Dataflow 1a version of conversationtranscript to Dataflow 2 (chaining them together)
7681
1. Edit Dataflow 2 - select 'Edit tables'.
7782
2. You should now be in the Power Query editor. Select Get data - more... - Power Platform - Power BI Dataflows.
78-
3. Sign in, and then select the conversationtranscript table from Dataflow 1.
79-
4. You should now return to the Power Query editor. We need to change each reference to conversationtranscript to point to the new table we just imported. Select the original conversationtranscript table - and then look at the Applied Steps window on the right of the screen. Delete any steps after 'Source'. Select the source step, and replace any value with the name of the conversationtranscript table from Dataflow 1. This effectively makes the source of conversationtranscript in Dataflow 2 to be conversationtranscript from Dataflow 1.
83+
3. Sign in, and then select the conversationtranscript table from Dataflow 1a.
84+
4. You should now return to the Power Query editor. We need to change each reference to conversationtranscript to point to the new table we just imported. Select the original conversationtranscript table - and then look at the Applied Steps window on the right of the screen. Delete any steps after 'Source'. Select the source step, and replace any value with the name of the conversationtranscript table from Dataflow 1a. This effectively makes the source of conversationtranscript in Dataflow 2 to be conversationtranscript from Dataflow 1a.
8085

8186
5. Note that managing the data in your DataLake will require additional attention, outside the scope of these steps.
87+
6. You will likely want to refresh the content periodically, go to Settings -> Scheduled refresh and select the preferred period - you should ensure that the 2 dataflows that need refesh (1a and 2) refesh in that order.
8288

8389
#### Set up the report
8490

@@ -94,8 +100,9 @@ Required - using Azure Synapse Link allows us to export significant telemetry fr
94100

95101
There are a few places where the pipeline may break - troublshooting can normally isolate the problem using these steps:
96102

97-
1. Ensure that data is being pulled in to your DataFlow correctly. Open the DataFlow for editing (select 'edit entities'), and on each of the tables, select refresh to ensure that data is being populated.
98-
2. Ensure that your Power BI report is connecting to DataFlows. If an error happens when you first pull in data, select 'Transform data' in the navigation menu to open Power Query
103+
1. The Common Data Model Dataflow option is only available on V2 Power BI workspaces. Please upgrade your workspace if you do not see this option.
104+
2. Ensure that data is being pulled in to your DataFlow correctly. Open the DataFlow for editing (select 'edit entities'), and on each of the tables, select refresh to ensure that data is being populated.
105+
3. Ensure that your Power BI report is connecting to DataFlows. If an error happens when you first pull in data, select 'Transform data' in the navigation menu to open Power Query
99106
1. Refresh each table in the 'Raw Data' folder - these correspond to the data in the DataFlow.
100107
2. If this fails also, test you have permissions to the DataFlow. An easy way to do this is to open the 'bot' query at the top of the query list, and select 'Source' at the top of the 'Applied steps' control. This lists all the DataFlows you have access to.
101-
3. If both of the steps above succeed, but you still have errors, please raise an issue in this repo.
108+
4. If both of the steps above succeed, but you still have errors, please raise an issue in this repo.

0 commit comments

Comments
 (0)