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: pages/data-warehouse/how-to/connect-bi-tools.mdx
+44-3Lines changed: 44 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,14 +110,34 @@ Refer to the official [ClickHouse®](https://clickhouse.com/docs/integrations/me
110
110
111
111
## PowerBI Desktop
112
112
113
-
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources.
113
+
Power BI Desktop is a robust data visualization tool that allows users to create dynamic reports and dashboards from various data sources. To connect to your Data Warehouse for ClickHouse® deployment, PowerBI requires a MySQL connection using a dedicated user with a **plain text password**.
114
114
115
115
<Messagetype="note">
116
116
ODBC connection between PowerBI and Data Warehouse for ClickHouse® is currently not supported.
117
117
</Message>
118
118
119
+
### Creating a dedicated MySQL user
119
120
120
-
0. Make sure you installed [PowerBI Desktop]https://www.microsoft.com/en-us/download/details.aspx?id=58494/), and [MySQL Connector/NET](https://dev.mysql.com/downloads/connector/net/).
121
+
1.[Connect to your deployment](/data-warehouse/how-to/connect-applications/).
122
+
123
+
2. Run the SQL query below to create a user with a plain text password. Replace the placeholders with the appropriate values:
124
+
```sql
125
+
CREATEUSERmysql_user IDENTIFIED WITH plaintext_password BY 'mysql_user_password';
126
+
```
127
+
128
+
3. Run the SQL query below to grant the user access to the database:
129
+
130
+
```sql
131
+
GRANTSELECT(id) ONmy_database.my_table TO mysql_user WITH GRANT OPTION;
132
+
```
133
+
134
+
Your user can now access the specified database using the credentials you just defined.
135
+
136
+
### Connecting PowerBI to your deployment
137
+
138
+
<Tabsid="power-bi-connection">
139
+
<TabsTablabel="PowerBI Desktop">
140
+
0. Make sure you installed [PowerBI Desktop](https://www.microsoft.com/en-us/download/details.aspx?id=58494/), and [MySQL Connector/NET](https://dev.mysql.com/downloads/connector/net/).
121
141
122
142
1. Open PowerBI Desktop.
123
143
@@ -132,12 +152,33 @@ ODBC connection between PowerBI and Data Warehouse for ClickHouse® is currently
132
152
A credentials pop-up displays.
133
153
134
154
5. Select **Database** from the left menu, enter the values below, then click **Connect**.
135
-
-**User name**: your deployment admin user (`scwadmin` by default)
155
+
-**User name**: your dedicated MySQL user [previously created](#creating-a-dedicated-mysql-user)
136
156
-**Password**: the password you set at deployment creation
137
157
138
158
The **Navigator** pop-up displays, showing the different schemas and tables contained in your Data Warehouse for ClickHouse® deployment.
139
159
140
160
6. Select the desired tables, then **Load** to import data, or **Transform Data** to start working with your dataset.
0 commit comments