Skip to content

Commit 8708f43

Browse files
authored
Merge pull request #78596 from orspod/ODBC-tableau-split
Odbc tableau split
2 parents 1ae7847 + fdec843 commit 8708f43

File tree

8 files changed

+66
-44
lines changed

8 files changed

+66
-44
lines changed
Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,28 @@
11
---
22
title: Connect to Azure Data Explorer with ODBC
3-
description: In this how-to, you learn how to set up an ODBC connection to Azure Data Explorer then use that connection to visualize data with Tableau.
3+
description: In this article, you learn how to set up an Open Database Connectivity (ODBC) connection to Azure Data Explorer.
44
author: orspod
55
ms.author: orspodek
66
ms.reviewer: mblythe
77
ms.service: data-explorer
88
ms.topic: conceptual
9-
ms.date: 02/21/2019
9+
ms.date: 06/03/2019
1010
---
1111

1212
# Connect to Azure Data Explorer with ODBC
1313

1414
Open Database Connectivity ([ODBC](/sql/odbc/reference/odbc-overview)) is a widely accepted application programming interface (API) for database access. Use ODBC to connect to Azure Data Explorer from applications that don't have a dedicated connector.
1515

16-
Behind the scenes, applications call functions in the ODBC interface, which are implemented in database-specific modules called *drivers*. Azure Data Explorer supports a subset of the SQL Server communication protocol ([MS-TDS](/azure/kusto/api/tds/)); therefore it can use the ODBC driver for SQL Server.
16+
Behind the scenes, applications call functions in the ODBC interface, which are implemented in database-specific modules called *drivers*. Azure Data Explorer supports a subset of the SQL Server communication protocol ([MS-TDS](/azure/kusto/api/tds/)), so it can use the ODBC driver for SQL Server.
1717

18-
In this article, you learn how to use the SQL Server ODBC driver, so you can connect to Azure Data Explorer from any application that supports ODBC. You can then optionally connect to Azure Data Explorer from Tableau, and bring in data from a sample cluster.
18+
In this article, you learn how to use the SQL Server ODBC driver, so you can connect to Azure Data Explorer from any application that supports ODBC.
1919

2020
## Prerequisites
2121

22-
You need the following to complete this how to:
22+
You need the following:
2323

2424
* [Microsoft ODBC Driver for SQL Server version 17.2.0.1 or later](/sql/connect/odbc/download-odbc-driver-for-sql-server) for your operating system.
2525

26-
* If you want to follow our Tableau example, you also need:
27-
28-
* Tableau Desktop, full or [trial](https://www.tableau.com/products/desktop/download) version.
29-
30-
* A cluster that includes the StormEvents sample data. For more information, see [Quickstart: Create an Azure Data Explorer cluster and database](create-cluster-database-portal.md) and [Ingest sample data into Azure Data Explorer](ingest-sample-data.md).
31-
32-
[!INCLUDE [data-explorer-storm-events](../../includes/data-explorer-storm-events.md)]
33-
3426
## Configure the ODBC data source
3527

3628
Follow these steps to configure an ODBC data source using the ODBC driver for SQL Server.
@@ -67,34 +59,6 @@ Follow these steps to configure an ODBC data source using the ODBC driver for SQ
6759

6860
![Test succeeded](media/connect-odbc/test-succeeded.png)
6961

70-
## Visualize data in Tableau (optional)
71-
72-
Now you've finished configuring ODBC, you can bring sample data into Tableau.
73-
74-
1. In Tableau Desktop, in the left menu, select **Other Databases (ODBC)**.
75-
76-
![Connect with ODBC](media/connect-odbc/connect-odbc.png)
77-
78-
1. For **DSN**, select the data source you created for ODBC, then select **Sign In**.
79-
80-
![ODBC sign-in](media/connect-odbc/odbc-sign-in.png)
81-
82-
1. For **Database**, select the database on your sample cluster, such as *TestDatabase*. For **Schema**, select *dbo*, and for **Table**, select the *StormEvents* sample table.
83-
84-
![Select database and table](media/connect-odbc/select-database-table.png)
85-
86-
1. Tableau now shows the schema for the sample data. Select **Update Now** to bring the data into Tableau.
87-
88-
![Update data](media/connect-odbc/update-data.png)
89-
90-
When the data is imported, Tableau shows rows of data similar to the following image.
91-
92-
![Result set](media/connect-odbc/result-set.png)
93-
94-
1. Now you can create visualizations in Tableau based on the data you brought in from Azure Data Explorer. For more information, see [Tableau Learning](https://www.tableau.com/learn).
95-
9662
## Next steps
9763

98-
[Write queries for Azure Data Explorer](write-queries.md)
99-
100-
[Tutorial: Visualize data from Azure Data Explorer in Power BI](visualize-power-bi.md)
64+
* [Connect to Azure Data Explorer from Tableau](tableau.md)

articles/data-explorer/tableau.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Use Open Database Connectivity (ODBC) connection to Azure Data Explorer to visualize data with Tableau
3+
description: In this article, you learn how to use an Open Database Connectivity (ODBC) connection to Azure Data Explorer connection to visualize data with Tableau.
4+
author: orspod
5+
ms.author: orspodek
6+
ms.reviewer: mblythe
7+
ms.service: data-explorer
8+
ms.topic: conceptual
9+
ms.date: 06/03/2019
10+
---
11+
12+
# Visualize data from Azure Data Explorer in Tableau
13+
14+
[Tableau](https://www.tableau.com/) is a visual analytics platform for business intelligence. To connect to Azure Data Explorer from Tableau and bring in data from a sample cluster, use the SQL Server Open Database Connectivity (ODBC) driver.
15+
16+
## Prerequisites
17+
18+
You need the following to complete this article:
19+
20+
* [Connect to Azure Data Explorer with ODBC](connect-odbc.md) using the SQL Server ODBC driver, to connect to Azure Data Explorer from Tableau.
21+
22+
* Tableau Desktop, full, or [trial](https://www.tableau.com/products/desktop/download) version.
23+
24+
* A cluster that includes the StormEvents sample data. For more information, see [Create an Azure Data Explorer cluster and database](create-cluster-database-portal.md) and [Ingest sample data into Azure Data Explorer](ingest-sample-data.md).
25+
26+
[!INCLUDE [data-explorer-storm-events](../../includes/data-explorer-storm-events.md)]
27+
28+
## Visualize data in Tableau
29+
30+
Once you've finished configuring ODBC, you can bring sample data into Tableau.
31+
32+
1. In Tableau Desktop, in the left menu, select **Other Databases (ODBC)**.
33+
34+
![Connect with ODBC](media/tableau/connect-odbc.png)
35+
36+
1. For **DSN**, select the data source you created for ODBC, then select **Sign In**.
37+
38+
![ODBC sign-in](media/tableau/odbc-sign-in.png)
39+
40+
1. For **Database**, select the database on your sample cluster, such as *TestDatabase*. For **Schema**, select *dbo*, and for **Table**, select the *StormEvents* sample table.
41+
42+
![Select database and table](media/tableau/select-database-table.png)
43+
44+
1. Tableau now shows the schema for the sample data. Select **Update Now** to bring the data into Tableau.
45+
46+
![Update data](media/tableau/update-data.png)
47+
48+
When the data is imported, Tableau shows rows of data similar to the following image.
49+
50+
![Result set](media/tableau/result-set.png)
51+
52+
1. Now you can create visualizations in Tableau based on the data you brought in from Azure Data Explorer. For more information, see [Tableau Learning](https://www.tableau.com/learn).
53+
54+
## Next steps
55+
56+
* [Write queries for Azure Data Explorer](write-queries.md)

articles/data-explorer/toc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,14 @@
8484
href: power-bi-imported-query.md
8585
- name: SQL query
8686
href: power-bi-sql-query.md
87+
- name: ODBC connector
88+
href: connect-odbc.md
8789
- name: Sisense
8890
href: sisense.md
8991
- name: Grafana
9092
href: grafana.md
91-
- name: ODBC connector
92-
href: connect-odbc.md
93+
- name: Tableau
94+
href: tableau.md
9395
- name: Manage
9496
items:
9597
- name: Manage database permissions

0 commit comments

Comments
 (0)