How to connect Hive with Power BI - hive

I cannot see Hive as a listed data source in power BI . Is there a way to connect Hive database with power bi desktop. also is there any limitation?

Hive ODBC Driver should be installed and configured in the system in order to connect with Power BI. Once ODBC Driver is successfully configured then connect using below way in Power BI.
Home -> Get Data -> More -> Other -> ODBC

Have a look here Create Hive ODBC data source
The hive sample table Hive table comes with all HDInsight clusters.
Sign in to Power BI Desktop.
Click the Home tab, click Get Data from the External data, and then select More.
connect data image
From the Get Data pane, click Other from the left, click ODBC from the right, and then click Connect on the bottom.
From the From ODBC pane, select the data source name you created in the last section, and then click OK.
From the Navigator pane, expand ODBC->HIVE->default, select hive sampletable, and then click Load.
Thanks.

Related

Visio Reverse Engineer Won't Add Data Source

I have Visio 2010 Premium, and I'm trying to connect to a SQL database. I go to the Database tab, and choose Reverse Engineer. If I choose Microsoft SQL Server, there are no data sources. I choose New... and set up an ODBC connect to the server and database. It is a successful test connection. When I get back to the Reverse Engineer Wizard, it didn't add the new data source, and I can't go to Next. It says "No valid data source is specified for connection. Specify a valid data source to proceed." If I go to New... again and set it up again, it still won't add it. I tried an ODBC connection, and OLE connection, nothing works to add the Data Source.
Can anyone help?
Use the ODBC generic data source
Try using the ODBC generic data source in order to have it appear in the Data sources list:
On the first page, select Microsoft SQL Server from the drop-down list:
Click Setup, then select ODBC Driver 17 for SQL Server. Then, click OK:
Now select the New... button (right of Data sources) to create a new source.
Go through the Create New Data Source wizard (File/User/System doesn't really matter - it's just where the definition is stored), creating a new data source, making sure to select ODBC Driver 17 fo SQL Server again when prompted:
The data source will then appear in the Data sources list.
Note: System DSNs may not be modified within Visio unless running as administrator. When not running as administrator, this message will be received:
To work around this, type 'ODBC' at the start menu, and edit the System DSN from the ODBC Data Sources tool (Visio is a 32-bit image, so use the 32-bit ODBC tool):
It can also be accessed through: %windir%\syswow64\odbcad32.exe

Cannot create measure or calculated column in Power BI

I am working on Power BI with a SSAS instance. I am using a direct connection to browse the data. I need to build custom measures and columns to create a dashboard, but the buttons are greyed out and the right-click menu on a table does not show 'New mesure' or 'New column'.
Obviously I am missing something, any idea what?
No you can't create measure or column if you are connected to SSAS
Question: If I created a live connection, can I edit the model or query in Power BI Desktop?
Answer: No. All of the query and modeling features in Power BI Desktop
are disabled when exploring live data.
you can found other info here : https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-analysis-services-tabular-data/

How to connect oracle 11g db and sql power architect?

I have made a ER diagram of a database in sql power arch. I wanted to create the whole table- schemas in oracle db, so 1st I have to connect oracle11g db and sql power architect.
The error line is, - jdbc DRIVER " oracle.jdbc.oracleDriver " not found
SQL Power Architect doesn`t have Oracle JDBC drivers out-of-the-box. You should download it manually and load into the SQL Architect.
You should follow the next steps:
Choose the version of Oracle DB (11g in your case),
Download the appropriate JDBC driver from Oracle site to the desired location on your PC (for example, I use jdbc folder inside architect folder),
Open SQL Power Architect,
In SQL Power Architect go to File->User Preferences, then choose 'JDBC Drivers' tab,
Choose the desired database type and version from the tree on the left,
Press button 'Add JAR...' on the right and choose the downloaded on step 3 JDBC Driver file,
That`s all. Go to Connections and create new connection using choosen database.
Sources: SQL Power Architect FAQ.
Download Oracle JDBC driver for your version of DB, install it and register it inside your client application (usually somewhere in connection preferences or settings).

Unable to view the database created in hive when connecting from tableau.

I created a sample database in hive and some sample tables in it.when I am connecting to Hive from my BI tool 'Tableau'I am unable to view the databases that are created.Only the defualt database is shown.
Could anyone help me with the issue so that I can access the newly created database in Tableau.
Thank You,
Divya Teja Y.
First: Make sure that you are calling your hive server connection from the same directory (or referencing the same metastore) as the one in which you created the database/tables.
Second: When you open up the Cloudera Hadoop Connection, you should be able to see your database under "Step 4: Select a schema on the server" Click the magnifying glass.

connect SQL to SPSS

I have table in Microsoft SQL server; and I'm using SPSS 14.1.
Now I want to connect SQL table to SPSS, so I can use SQL table from SPSS directly.
In SPSS, SQL database -> Data source -> Add New database connection -> Then I have 3 data source options only: dBASE Files, Excel Files, and MS Access Database. Which one can connect to SQL server?
You should open the Microsoft ODBC Administrator from Start or the Control Panel. There you should activate the System SDN tab, click Add... and add a SQL Server data source.
A wizard will open, where you can enter the details. First the name of the connection, which will be used as a reference by SPSS. Then optionally a description, and the ip address or name of the server.
On the next page select the authentication method, and if needed, enter the user and password. From this point, the default settings will most likely be good. If you will have character coding problems or something like that, you may need to change these settings.
I also use ODBC connection to connect to the database from SPSS, and it works well.
I hope this will help.
You may need an ODBC driver from MS or use one from the Data Access Pack for SPSS, but you will need a driver specifically for SQL Server.