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/stream-analytics/stream-analytics-real-time-fraud-detection.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: ajetasin
5
5
ms.author: ajetasi
6
6
ms.service: azure-stream-analytics
7
7
ms.topic: tutorial
8
-
ms.date: 02/14/2024
8
+
ms.date: 10/01/2024
9
9
#Customer intent: As an IT admin/developer, I want to run a Stream Analytics job to analyze phone call data and visualize results in a Power BI dashboard.
10
10
---
11
11
@@ -39,8 +39,10 @@ The last step is to define an output sink where the job can write the transforme
39
39
40
40
1. From the Azure portal, open **All resources**, and select the *ASATutorial* Stream Analytics job.
41
41
2. In the **Job Topology** section of the Stream Analytics job, select the **Outputs** option.
42
-
3. Select **+ Add** > **Power BI**.
43
-
4. Fill the output form with the following details:
42
+
3. Select **+ Add output** > **Power BI**.
43
+
44
+
:::image type="content" source="./media/stream-analytics-real-time-fraud-detection/select-output-type.png" alt-text="Screenshot that shows the Outputs page with Add output -> Power BI menu selected.":::
45
+
1. Fill the output form with the following details:
44
46
45
47
|**Setting**|**Suggested value**|
46
48
|---------|---------|
@@ -167,25 +169,31 @@ When you use a join with streaming data, the join must provide some limits on ho
167
169
168
170
4. From your Power BI workspace, select**+ Create** to create a new dashboard named *Fraudulent Calls*.
169
171
170
-
5. At the top of the window, select**Edit**and**Add tile**. Then select**Custom Streaming Data**and**Next**. Choose the **ASAdataset** under **Your Datasets**. Select**Card**from the **Visualization type** dropdown, and add **fraudulent calls** to **Fields**. Select**Next** to enter a name for the tile, and then select**Apply** to create the tile.
172
+
5. At the top of the window, select**Edit**and**Add tile**.
173
+
1. In the **Add tile** window, select**Custom Streaming Data**and**Next**.
174
+
1. Choose the **ASAdataset** under **Your Datasets**, andselect**Next**.
175
+
1. Select**Card**from the **Visualization type** dropdown, add **fraudulent calls** to **Fields**, and then select**Next**.
171
176
172
-

177
+
:::image type="content" source="./media/stream-analytics-real-time-fraud-detection/chart-settings.png" alt-text="Screenshot that shows the chart settings for a Power BI dashboard." lightbox="./media/stream-analytics-real-time-fraud-detection/chart-settings.png":::
178
+
1. Enter a name for the tile (for example, **Fraudulent calls**), and then select**Apply** to create the tile.
173
179
174
-
6. Follow the step 5 again with the following options:
180
+
:::image type="content" source="./media/stream-analytics-real-time-fraud-detection/tile-details.png" alt-text="Screenshot that shows the Tile details page." lightbox="./media/stream-analytics-real-time-fraud-detection/tile-details.png":::
181
+
1. Follow the step 5 again with the following options:
175
182
* When you get to Visualization Type, selectLine chart.
176
183
* Add an axis andselect**windowend**.
177
184
* Add a value andselect**fraudulent calls**.
178
185
* For **Time window to display**, select the last 10 minutes.
179
186
187
+
:::image type="content" source="./media/stream-analytics-real-time-fraud-detection/line-chart-settings.png" alt-text="Screenshot that shows settings for a line chart on the dashboard." lightbox="./media/stream-analytics-real-time-fraud-detection/line-chart-settings.png":::
180
188
7. Your dashboard should look like the following example once both tiles are added. Notice that, if your event hub sender application and Streaming Analytics application are running, your Power BI dashboard periodically updates as new data arrives.
181
189
182
-

190
+
:::image type="content" source="media/stream-analytics-real-time-fraud-detection/power-bi-results-dashboard.png" alt-text="Screenshot that shows the Power BI dashboard." lightbox="media/stream-analytics-real-time-fraud-detection/power-bi-results-dashboard.png":::
183
191
184
192
## Embedding your Power BI Dashboard in a web application
185
193
186
194
For this part of the tutorial, you use a sample [ASP.NET](https://asp.net/) web application created by the Power BI team to embed your dashboard. For more information about embedding dashboards, see [embedding with Power BI](/power-bi/developer/embedding) article.
187
195
188
-
To set up the application, go to the [PowerBI-Developer-Samples](https://github.com/Microsoft/PowerBI-Developer-Samples) GitHub repository and follow the instructions under the **User Owns Data** section (use the redirect and homepage URLs under the **integrate-web-app** subsection). Since we're using the Dashboard example, use the **integrate-web-app** sample code located in the [GitHub repository](https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Framework/Embed%20for%20your%20organization/).
196
+
To set up the application, go to the [Power BI-Developer-Samples](https://github.com/Microsoft/PowerBI-Developer-Samples) GitHub repository and follow the instructions under the **User Owns Data** section (use the redirect and homepage URLs under the **integrate-web-app** subsection). Since we're using the Dashboard example, use the **integrate-web-app** sample code located in the [GitHub repository](https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Framework/Embed%20for%20your%20organization/).
189
197
Once you have the application running in your browser, follow these steps to embed the dashboard you created earlier into the web page:
190
198
191
199
1. Select **Sign in to Power BI**, which grants the application access to the dashboards in your Power BI account.
0 commit comments