You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/text-analytics/tutorials/tutorial-power-bi-key-phrases.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,13 +111,14 @@ A new query, initially named `Query1`, appears in the Queries list. Double-click
111
111
Now, in the **Home** ribbon, in the **Query** group, click **Advanced Editor** to open the Advanced Editor window. Delete the code that's already in that window and paste in the following code.
112
112
113
113
> [!NOTE]
114
-
> The examples below assume the Text Analytics API endpoint begins with `https://westus.api.cognitive.microsoft.com`. Text Analytics allows you to create a subscription in 13 different regions. If you signed up for the service in a different region, please make sure to use the endpoint for the region you selected. You can find this endpoint by signing in to the [Azure portal](https://azure.microsoft.com/features/azure-portal/), selecting your Text Analytics subscription, and selecting the Overview page.
114
+
> Replace the example endpoint below (containing `<your-custom-subdomain>`) with the endpoint generated for your Text Analytics resource. You can find this endpoint by signing in to the [Azure portal](https://azure.microsoft.com/features/azure-portal/), selecting your Text Analytics subscription, and selecting `Quick start`.
115
+
115
116
116
117
```fsharp
117
118
// Returns key phrases from the text in a comma-separated list
@@ -161,7 +162,8 @@ Click **Edit Credentials,** make sure `Anonymous` is selected in the dialog, the
161
162
> [!NOTE]
162
163
> You select `Anonymous` because the Text Analytics service authenticates you using your access key, so Power BI does not need to provide credentials for the HTTP request itself.
163
164
164
-
![[setting authentication to anonymous]](../media/tutorials/power-bi/access-web-content.png)
165
+
> [!div class="mx-imgBorder"]
166
+
> ![[setting authentication to anonymous]](../media/tutorials/power-bi/access-web-content.png)
165
167
166
168
If you see the Edit Credentials banner even after choosing anonymous access, you may have forgotten to paste your Text Analytics access key into the code in the `KeyPhrases`[custom function](#CreateCustomFunction).
167
169
@@ -220,7 +222,7 @@ The Sentiment Analysis function below returns a score indicating how positive th
220
222
// Returns the sentiment score of the text, from 0.0 (least favorable) to 1.0 (most favorable)
0 commit comments