powerbi.asciidoc 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [role="xpack"]
  2. [[sql-client-apps-powerbi]]
  3. === Microsoft Power BI Desktop
  4. You can use the {es} ODBC driver to access {es} data from Microsoft Power BI Desktop.
  5. IMPORTANT: Elastic does not endorse, promote or provide support for this application; for native Elasticsearch integration in this product, please reach out to its vendor.
  6. ==== Prerequisites
  7. * https://powerbi.microsoft.com/en-us/desktop/[Microsoft Power BI Desktop] 2.63 or higher
  8. * {es-sql} <<sql-odbc, ODBC driver>>
  9. * A preconfigured User or System DSN (see <<dsn-configuration,Configuration>> section on how to configure a DSN).
  10. ==== Data loading
  11. First, you'll need to choose ODBC as the source to load data from. Once launched, click on the _Get Data_ button (under _Home_ tab), then
  12. on the _More..._ button at the bottom of the list:
  13. [[apps_pbi_fromodbc1]]
  14. .Get Data / More...
  15. image:images/sql/odbc/apps_pbi_fromodbc1.png[]
  16. In the new opened window scroll at the bottom of the _All_ list and select the _ODBC_ entry, then click on the _Connect_ button:
  17. [[apps_pbi_fromodbc2]]
  18. .ODBC / Connect
  19. image:images/sql/odbc/apps_pbi_fromodbc2.png[]
  20. This will replace current window with a new _From ODBC_ one, where you'll have to select a previously configured DSN:
  21. [[apps_pbi_dsn]]
  22. .Choose a DSN
  23. image:images/sql/odbc/apps_pbi_dsn.png[]
  24. Once connected Power BI will read {es}'s catalog and offer the user a choice of tables (indices) to load data from. Clicking on one of the
  25. tables will load a preview of the data within:
  26. [[apps_pbi_picktable]]
  27. .Pick table to load
  28. image:images/sql/odbc/apps_pbi_picktable.png[]
  29. Now tick the chosen table and click on the _Load_ button. Power BI will now load and analyze the data, populating a list with the available
  30. columns. These can now be used to build the desired visualisation:
  31. [[apps_pbi_loaded]]
  32. .Visualize the data
  33. image:images/sql/odbc/apps_pbi_loaded.png[]
  34. // vim: set noet fenc=utf-8 ff=dos sts=0 sw=4 ts=4 tw=138 columns=140