Visualize Interactive Query Apache Hive data with Microsoft Power BI using direct query in HDInsight
Alt
This article describes how to connect Microsoft Power BI to Azure HDInsight Interactive Query clusters and visualize Apache Hive data using direct query. The example provided loads the data from a hivesampletable Hive table to Power BI. The hivesampletable Hive table contains some mobile phone usage data. Then you plot the usage data on a world map:
Before going through this article, you must have the following items:
HDInsight cluster. The cluster can be either a HDInsight cluster with Apache Hive or a newly released Interactive Query cluster. For creating clusters, see Create cluster.
The hivesampletable Hive table comes with all HDInsight clusters.
Start Power BI Desktop.
From the menu bar, navigate to Home > Get Data > More....
From the Get Data window, enter hdinsight in the search box.
From the search results, select HDInsight Interactive Query, and then select Connect. If you don't see HDInsight Interactive Query, you need to update your Power BI Desktop to the latest version.
Select Continue to close the Connecting to a third-party service dialog.
In the HDInsight Interactive Query window, enter the following information and then select OK:
Property
Value
Server
Enter the cluster name, for example myiqcluster.azurehdinsight.net.
Database
Enter default for this article.
Data Connectivity mode
Select DirectQuery for this article.
Enter the HTTP credentials, and then select Connect. The default user name is admin.
From the Navigator window in the left pane, select hivesampletale.
Select Load from the main window.
Visualize data on a map
Continue from the last procedure.
From the Visualizations pane, select Map, the globe icon. A generic map then appears in the main window.
From the Fields pane, select country and devicemake. A world map with the data points appears in the main window after a few moments.
Expand the map.
Next steps
In this article, you learned how to visualize data from HDInsight using Microsoft Power BI. For more information on data visualization, see the following articles:
Demonstrate methods and best practices that align with business and technical requirements for modeling, visualizing, and analyzing data with Microsoft Power BI.