SlideShare a Scribd company logo
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




Topic - HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps

About Writer:




Karan Gulati (SSAS Maestro)                                                                                   Page 1
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




What are we covering?

             o Hive
                     Create table
                     Load Data
                     Query Data
             o Configure ODBC
             o Create PowerPivot
                     With DataSource as HDInsight
                     Import Data from HDInsight
             o Create Pivot Chat using imported data




         (1)Open Hadoop Command Line

         After installing HDInsight for Windows you will get Hadoop Command Line Shortcut on desktop

         Click on Hadoop Command Line Shortcut and it will open Cmd Line for Hadoop




         (2)Type Hive and it will change to Hive Command




Karan Gulati (SSAS Maestro)                                                                                        Page 2
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (3)Create Tables

        CREATE TABLE emp(id int,name string)ROW FORMAT DELIMITED FIELDS TERMINATED BY
        ',';

        CREATE TABLE sales(id int,sales int)ROW FORMAT DELIMITED FIELDS TERMINATED BY ',';




        (4)Load Data using CSV Files

        LOAD DATA LOCAL INPATH 'c:/data/emp.csv' OVERWRITE INTO TABLE emp;




        LOAD DATA LOCAL INPATH 'c:/data/sales.csv' OVERWRITE INTO TABLE sales;




        (5) Open HDInsight Dashboard (You will find shortcut on desktop) and click on Download




Karan Gulati (SSAS Maestro)                                                                                       Page 3
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (6)Click on the appropriate link for your Excel.




        (7)Configure ODBC

        For configuring ODBC, Click start and type in ODBC. This will bring up the Data Sources dialog. Go to
        the System DSN tab and click Add. Configure it with a Data Source Name, Your Host Information, and a
        Username. In Single Node HDInsight Installation you don’t need to provide Username but if you are
        using HDInsight on Azure you can provide Username.




Karan Gulati (SSAS Maestro)                                                                                        Page 4
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (8) Provider Data Source Name and Default Port is 10000




        (9)Open Excel Sheet, select PowerPivot in ribbon and click on Manage




Karan Gulati (SSAS Maestro)                                                                                      Page 5
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (10)Click on Get External Data




Karan Gulati (SSAS Maestro)                                                                                         Page 6
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (11)Select – Get External Data and Data Import window and Select Others(OLEDB/ODBC)




        (12)Click Build




Karan Gulati (SSAS Maestro)                                                                                    Page 7
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (13)Select OLE DB Provider for ODBC




        (14)Select DSN which we have created earlier in step number 8, Select Database (In Single Node
        HDInsight installation you don’t need to provider User Name and Password in current release but
        in case of HDInsight on Azure you need to provide User Name and Password) and follow the
        wizard for selecting tables in our case its EMP and Sales




Karan Gulati (SSAS Maestro)                                                                                       Page 8
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




Karan Gulati (SSAS Maestro)                                                                              Page 9
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (15)If you Notice Relationship between Emp and Sales is absent so with one click we can create
        relationship




Karan Gulati (SSAS Maestro)                                                                                     Page 10
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (16)Added feature like Calculated Measure name Sales and created a KPI




        (17)Select Pivot of your Choice from PivotTable




Karan Gulati (SSAS Maestro)                                                                                     Page 11
HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps




        (18) Finally - you are good to go with PowerPivot Report based on Hive




        Refer

        HDInsight – What is it?

        Configuring: PowerPivot for Excel 2013




       Contact Speaker

                http://karanspeaks.com

            http://blogs.msdn.com/karang

         https://twitter.com/karangspeaks

        http://in.linkedin.com/in/karanspeaks




Karan Gulati (SSAS Maestro)                                                                                       Page 12

More Related Content

PDF
Intoduction to sql 2012 Tabular Modeling
PPTX
Data warehouse and ssas terms
PPTX
Extreme SSAS - Part I
PDF
Microsoft SSAS: Should I Use Tabular or Multidimensional?
PDF
A Gentle Introduction to Microsoft SSAS
PPTX
Hitchhiker’s Guide to SharePoint BI
PPTX
Self-Service Business Intelligence with Power BI
PPTX
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BI
Intoduction to sql 2012 Tabular Modeling
Data warehouse and ssas terms
Extreme SSAS - Part I
Microsoft SSAS: Should I Use Tabular or Multidimensional?
A Gentle Introduction to Microsoft SSAS
Hitchhiker’s Guide to SharePoint BI
Self-Service Business Intelligence with Power BI
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BI

Similar to HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (20)

PDF
Powerbimadesimple 150206194215-conversion-gate01
PPTX
Power BI Made Simple
PDF
Building a Dashboard in an hour with Power Pivot and Power BI
PPSX
Powerpivot web wordpress present
PPTX
Making Smarter Business Decisions with Power BI
PPTX
Power BI - Bring your data together
PPTX
Self-Service Data Integration with Power Query
PDF
Microsoft Big Data
PPTX
PPTX
Powerbi 130926080957-phpapp02
PDF
Introduction to Advanced Analytics with SharePoint Composites
PPTX
SQL: Enough business intelligence time for administration intelligence
PDF
Learn Power BI with Power Pivot, Power Query, Power View, Power Map and Q&A
PDF
Introduction to Advanced Analytics with SharePoint Composites
PDF
Self-Service BI with SQL Server 2012
PPTX
Power bi (1)Power BI Online Training Hyderabad | power bi online training ben...
PPTX
Power BI Overview
PPTX
Big Data and NoSQL for Database and BI Pros
PDF
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
PPT
Power BI
Powerbimadesimple 150206194215-conversion-gate01
Power BI Made Simple
Building a Dashboard in an hour with Power Pivot and Power BI
Powerpivot web wordpress present
Making Smarter Business Decisions with Power BI
Power BI - Bring your data together
Self-Service Data Integration with Power Query
Microsoft Big Data
Powerbi 130926080957-phpapp02
Introduction to Advanced Analytics with SharePoint Composites
SQL: Enough business intelligence time for administration intelligence
Learn Power BI with Power Pivot, Power Query, Power View, Power Map and Q&A
Introduction to Advanced Analytics with SharePoint Composites
Self-Service BI with SQL Server 2012
Power bi (1)Power BI Online Training Hyderabad | power bi online training ben...
Power BI Overview
Big Data and NoSQL for Database and BI Pros
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
Power BI
Ad

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Programs and apps: productivity, graphics, security and other tools
Machine Learning_overview_presentation.pptx
Tartificialntelligence_presentation.pptx
A comparative analysis of optical character recognition models for extracting...
Spectroscopy.pptx food analysis technology
Empathic Computing: Creating Shared Understanding
Ad

HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps

  • 1. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps Topic - HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps About Writer: Karan Gulati (SSAS Maestro) Page 1
  • 2. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps What are we covering? o Hive  Create table  Load Data  Query Data o Configure ODBC o Create PowerPivot  With DataSource as HDInsight  Import Data from HDInsight o Create Pivot Chat using imported data (1)Open Hadoop Command Line After installing HDInsight for Windows you will get Hadoop Command Line Shortcut on desktop Click on Hadoop Command Line Shortcut and it will open Cmd Line for Hadoop (2)Type Hive and it will change to Hive Command Karan Gulati (SSAS Maestro) Page 2
  • 3. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (3)Create Tables CREATE TABLE emp(id int,name string)ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; CREATE TABLE sales(id int,sales int)ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; (4)Load Data using CSV Files LOAD DATA LOCAL INPATH 'c:/data/emp.csv' OVERWRITE INTO TABLE emp; LOAD DATA LOCAL INPATH 'c:/data/sales.csv' OVERWRITE INTO TABLE sales; (5) Open HDInsight Dashboard (You will find shortcut on desktop) and click on Download Karan Gulati (SSAS Maestro) Page 3
  • 4. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (6)Click on the appropriate link for your Excel. (7)Configure ODBC For configuring ODBC, Click start and type in ODBC. This will bring up the Data Sources dialog. Go to the System DSN tab and click Add. Configure it with a Data Source Name, Your Host Information, and a Username. In Single Node HDInsight Installation you don’t need to provide Username but if you are using HDInsight on Azure you can provide Username. Karan Gulati (SSAS Maestro) Page 4
  • 5. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (8) Provider Data Source Name and Default Port is 10000 (9)Open Excel Sheet, select PowerPivot in ribbon and click on Manage Karan Gulati (SSAS Maestro) Page 5
  • 6. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (10)Click on Get External Data Karan Gulati (SSAS Maestro) Page 6
  • 7. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (11)Select – Get External Data and Data Import window and Select Others(OLEDB/ODBC) (12)Click Build Karan Gulati (SSAS Maestro) Page 7
  • 8. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (13)Select OLE DB Provider for ODBC (14)Select DSN which we have created earlier in step number 8, Select Database (In Single Node HDInsight installation you don’t need to provider User Name and Password in current release but in case of HDInsight on Azure you need to provide User Name and Password) and follow the wizard for selecting tables in our case its EMP and Sales Karan Gulati (SSAS Maestro) Page 8
  • 9. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps Karan Gulati (SSAS Maestro) Page 9
  • 10. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (15)If you Notice Relationship between Emp and Sales is absent so with one click we can create relationship Karan Gulati (SSAS Maestro) Page 10
  • 11. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (16)Added feature like Calculated Measure name Sales and created a KPI (17)Select Pivot of your Choice from PivotTable Karan Gulati (SSAS Maestro) Page 11
  • 12. HDInsight on Windows: Building PowerPivot Report from Hive in a Few Easy Steps (18) Finally - you are good to go with PowerPivot Report based on Hive Refer HDInsight – What is it? Configuring: PowerPivot for Excel 2013 Contact Speaker http://karanspeaks.com http://blogs.msdn.com/karang https://twitter.com/karangspeaks http://in.linkedin.com/in/karanspeaks Karan Gulati (SSAS Maestro) Page 12