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
@@ -42,12 +43,14 @@ The first example demonstrates how to connect Power BI to Advanced Hunting API,
42
43
1. Open Microsoft Power BI.
43
44
44
45
2. Select **Get Data**\>**Blank Query**.
46
+
45
47
:::image type="content" source="../media/power-bi-create-blank-query.png" alt-text="The Blank Query option under the Get Data menu item" lightbox="../media/power-bi-create-blank-query.png":::
46
48
47
49
3. Select **Advanced Editor**.
50
+
48
51
:::image type="content" source="../media/power-bi-open-advanced-editor.png" alt-text="The Advanced Editor menu item" lightbox="../media/power-bi-open-advanced-editor.png":::
49
52
50
-
4. Copy the below and paste it in the editor:
53
+
4. Copy the code snippet below and paste it in the editor:
51
54
52
55
```
53
56
let
@@ -103,36 +106,43 @@ The first example demonstrates how to connect Power BI to Advanced Hunting API,
103
106
104
107
:::image type="content" source="../media/power-bi-set-credentials-organizational-cont.png" alt-text="The sign-in confirmation message in the Organizational account menu item" lightbox="../media/power-bi-set-credentials-organizational-cont.png":::
105
108
106
-
Now the results of your query appear as a table and you can start to build visualizations on top of it!
107
-
108
-
You can duplicate this table, rename it, and edit the Advanced Hunting query inside to get any data you would like.
109
+
Now the results of your query appear as a table and you can start to build visualizations on top of it! You can duplicate this table, rename it, and edit the Advanced Hunting query inside to get any data you would like.
109
110
110
111
## Connect Power BI to OData APIs
111
112
112
-
The only difference from the previous example is the query inside the editor. Follow steps 1-3 above.
113
+
The only difference from the previous example and this example is the query inside the editor.
113
114
114
-
At step 4, instead of the code in that example, copy the following code, and paste it in the editor to pull all **Machine Actions** from your organization:
115
+
1. Open Microsoft Power BI.
115
116
116
-
```
117
-
let
117
+
2. Select **Get Data**\>**Blank Query**.
118
+
119
+
:::image type="content" source="../media/power-bi-create-blank-query.png" alt-text="The Blank Query option under the Get Data menu item" lightbox="../media/power-bi-create-blank-query.png":::
You can do the same for **Alerts** and **Machines**.
127
-
You also can use OData queries for queries filters. See [Using OData Queries](exposed-apis-odata-samples.md).
137
+
You can do the same for **Alerts** and **Machines**. You also can use OData queries for queries filters. See [Using OData Queries](exposed-apis-odata-samples.md).
128
138
129
139
## Power BI dashboard samples in GitHub
130
140
131
-
For more information, see the [Power BI report templates](https://github.com/microsoft/MicrosoftDefenderATP-PowerBI).
141
+
See the [Power BI report templates](https://github.com/microsoft/MicrosoftDefenderATP-PowerBI).
132
142
133
143
## Sample reports
134
144
135
-
View the Microsoft Defender for Endpoint Power BI report samples. For more information, see [Browse code samples](/samples/browse/?products=mdatp).
145
+
View the [Microsoft Defender for Endpoint Power BI report samples](/samples/browse/?products=mdatp).
0 commit comments