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/data-explorer/power-bi-sql-query.md
+43-3Lines changed: 43 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: 'Quickstart: Visualize data using the Azure Data Explorer connector for Power BI'
3
-
description: 'In this quickstart, you learn how to use one of the three options for visualizing data in Power BI: the Power BI connector for Azure Data Explorer.'
2
+
title: 'Quickstart: Visualize data using a SQL query in Power BI'
3
+
description: 'In this quickstart, you learn how to use one of the three options for visualizing data in Power BI: a SQL query against an Azure Data Explorer cluster.'
4
4
services: data-explorer
5
5
author: orspod
6
6
ms.author: v-orspod
@@ -16,7 +16,7 @@ ms.date: 11/14/2018
16
16
17
17
Azure Data Explorer is a fast and highly scalable data exploration service for log and telemetry data. Power BI is a business analytics solution that lets you visualize your data and share the results across your organization.
18
18
19
-
Azure Data Explorer provides three options for connecting to data in Power BI: use the built-in connector, import a query from Azure Data Explorer, or use a SQL query. This quickstart shows you how to use the built-in connector to get data and visualize it in a Power BI report.
19
+
Azure Data Explorer provides three options for connecting to data in Power BI: use the built-in connector, import a query from Azure Data Explorer, or use a SQL query. This quickstart shows you how to use a SQL query to get data and visualize it in a Power BI report.
20
20
21
21
If you don't have an Azure subscription, create a [free Azure account](https://azure.microsoft.com/free/) before you begin.
22
22
@@ -32,6 +32,46 @@ You need the following to complete this quickstart:
32
32
33
33
First, you connect to the Azure Data Explorer help cluster, then you bring in a subset of the data from the *StormEvents* table. [!INCLUDE [data-explorer-storm-events](../../includes/data-explorer-storm-events.md)]
34
34
35
+
You typically use the native query language with Azure Data Explorer, but it also supports SQL queries, which you'll use here. Azure Data Explorer translates the SQL query into a native query for you.
36
+
37
+
1. In Power BI Desktop, on the **Home** tab, select **Get Data** then **More**.
| Server |*help.kusto.windows.net*| The URL for the help cluster (without *https://*). For other clusters, the URL is in the form *\<ClusterName\>.\<Region\>.kusto.windows.net*. |
52
+
| Database |*Samples*| The sample database that is hosted on the cluster you're connecting to. |
53
+
| Data connectivity mode |*Import*| Determines whether Power BI imports the data or connects directly to the data source. |
54
+
| Command timeout | Leave blank | How long the query runs before it throws a timeout error. |
55
+
| SQL statement | Copy the query below this table | The SQL statement that Azure Data Explorer translates into a native query. |
56
+
| Other options | Leave as default values | Options aren't applicable to Azure Data Explorer clusters. |
57
+
||||
58
+
59
+
```SQL
60
+
SELECT TOP 1000*
61
+
FROM StormEvents
62
+
ORDER BY DamageCrops DESC
63
+
```
64
+
65
+
1. If you don't already have a connection to the help cluster, sign in. Sign in with a Microsoft account, then select **Connect**.
66
+
67
+

68
+
69
+
1. On the **help.kusto.windows.net: Samples** screen, select **Load**.
Copy file name to clipboardExpand all lines: includes/data-explorer-power-bi-visualize-basic.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.author: mblythe
8
8
9
9
Now that you have data in Power BI Desktop, you can create reports based on that data. You'll create a simple report with a column chart that shows crop damage by state.
10
10
11
-
1. On the left side of the main window, select the report view.
11
+
1. On the left side of the main Power BI window, select the report view.
0 commit comments