{"id":71729,"date":"2017-07-17T14:20:22","date_gmt":"2017-07-17T14:20:22","guid":{"rendered":"https:\/\/www.red-gate.com\/simple-talk\/?p=71729"},"modified":"2021-09-15T13:22:19","modified_gmt":"2021-09-15T13:22:19","slug":"best-worlds-using-excel-power-bi-together","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/bi-sql-server\/best-worlds-using-excel-power-bi-together\/","title":{"rendered":"The Best of Both Worlds: Using Excel and Power BI Together"},"content":{"rendered":"<p>There are many IT technologies available for storing data, but Excel remains the most popular data tool for users of IT in businesses. Excel is just so versatile, but the downside is that everything remains in your local machine. You can\u2019t share the data, it doesn\u2019t get backed up and it isn\u2019t so secure. However, by using Power BI app too, you can view, analyze and share Excel files on the web.<\/p>\n<p>In first section of article you will see, how to Publish an Excel file \u2018<em>as is\u2019<\/em> to Power BI app, create a dashboard in Power BI and share components of an Excel file to other users. The second section will cover how to create a data model in Excel, export the Excel data model to Power BI and then create visualizations in the Power BI app. We will also explain how to analyze any Power BI dataset in Excel. In the final third section, we will cover the topic of how to import data from various data sources into Power BI.<\/p>\n<h2><a id=\"post-71729-_Toc487814687\"><\/a>Publish Excel file to Power BI, create dashboard in Power BI and share with others<\/h2>\n<p>In our daily work, many of us use Excel in one or other way. Once we finished doing our data massaging and creating visualization, we are ready to share the file with others. Very often, people will share an Excel workbook with others by attaching the Excel file in an email and sending an email to several people. Later on, if they find any problem with the Excel file or if they have done some enhancements to it, they have to send it again. This is a bad idea because the Excel file may contain a large amount of data which will clog the network and the recipients are likely to use the wrong version. We need a better way to share Excel file.<\/p>\n<p>In Power BI, we can view the Excel file as is, we can select Excel chart and share selected Excel chart with others. Once you publish Excel file to Power BI, it is easy to reflect any changes in the original file to the publication in Power BI.<\/p>\n<p>First, let\u2019s publish an Excel file to Power BI. Open Excel and copy the data in the table into Excel. In Excel, select the data in the \u2018<em>Employee\u2019<\/em> and \u2018<em>Sales\u2019<\/em> fields, click on the \u2018<em>Insert\u2019<\/em> tab and select \u2018<em>bar\u2019<\/em> chart. Now in the Excel file, we have some data and a bar chart. Our Excel file is ready to save and publish.<\/p>\n<table>\n<thead>\n<tr>\n<td>\n<p><strong>Employee<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Sales<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Client<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Product<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Industry<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p>John<\/p>\n<\/td>\n<td>\n<p>100<\/p>\n<\/td>\n<td>\n<p>ABC<\/p>\n<\/td>\n<td>\n<p>Long Term Equity<\/p>\n<\/td>\n<td>\n<p>Real Money<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>David<\/p>\n<\/td>\n<td>\n<p>200<\/p>\n<\/td>\n<td>\n<p>XYZ<\/p>\n<\/td>\n<td>\n<p>Short Term Corporate Bond<\/p>\n<\/td>\n<td>\n<p>HedgeFund<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Lina<\/p>\n<\/td>\n<td>\n<p>600<\/p>\n<\/td>\n<td>\n<p>PQR<\/p>\n<\/td>\n<td>\n<p>Future<\/p>\n<\/td>\n<td>\n<p>HedgeFund<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Stephanie<\/p>\n<\/td>\n<td>\n<p>300<\/p>\n<\/td>\n<td>\n<p>ABC<\/p>\n<\/td>\n<td>\n<p>Long Term Equity<\/p>\n<\/td>\n<td>\n<p>Real Money<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"358\" class=\"wp-image-71730\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-28.png\" \/><\/p>\n<p>Save Excel file as \u2018<em>employee_Excelbook.xlsx<\/em>\u2019. Click on the \u2018<em>File\u2019<\/em> menu and click \u2018<em>Publish\u2019<\/em>. To publish Excel file in Power BI, you need to \u2018<em>sign in<\/em>\u2019 using Power BI app account. You can use your \u2018Office 365\u2019 account or you can switch to another account.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1167\" height=\"758\" class=\"wp-image-71731\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-29.png\" \/><\/p>\n<p>Once you sign in using your Power BI account, you can select the option <em>\u2018Upload your workbook to Power BI\u2019<\/em>. This <em>\u2018Upload your workbook to Power BI\u2019 <\/em>option is intended for publishing an Excel file in Power BI.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1211\" height=\"758\" class=\"wp-image-71732\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-30.png\" \/><\/p>\n<p>Once file is published, you will see the message <em>\u2018PUBLISH TO POWER BI Workbook uploaded successfully\u2019\u2019. Open \u2018app.powerbi.com\u2019 <\/em>and sign in with your Power BI account. In \u2018My Workspace\u2019, you will see different tabs.<\/p>\n<p>In Power BI, under \u2018<em>My Workspace\u2019<\/em>, there are 4 tabs.<\/p>\n<ul>\n<li><em>\u2018Datasets\u2019<\/em>: When you are publishing Excel file to Power BI, if you choose \u2018<em>Export workBook data to Power BI\u2019<\/em> option, only Excel data will publish to Power BI. Excel data will appear in \u2018Datasets\u2019 section.<\/li>\n<li><em>\u2018Reports\u2019<\/em>: From \u2018Datasets\u2019 section, you can select any dataset to create reports and report will appear in \u2018Reports\u2019 section.<\/li>\n<li><em>\u2018Workbooks\u2019<\/em>: When you are publishing Excel file to Power BI, if you choose \u2018<em>Upload your workbook to Power BI<\/em>\u2019 option, \u2018as is\u2019 Excel file is uploaded to Power BI app. Excel file appear in \u2018Worksbooks\u2019 section.<\/li>\n<li>\u2018<em>Dashboards<\/em>\u2019: From <em>\u2018Reports\u2019 and \u2018workbooks\u2019 <\/em>section, you can <em>\u2018pin\u2019<\/em> any data\/chart to create a dashboard.<\/li>\n<\/ul>\n<p>Since we have uploaded Excel file to Power BI, click on \u2018workbooks\u2019 tab in Power BI to see your uploaded Excel file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71733\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-31.png\" width=\"720\" height=\"433\" \/><\/p>\n<p>Click on \u2018<em>Employee_ExcelBook\u2019<\/em> file to view the Excel workbook in the Power BI app. In Power BI, you can see the Excel file as-is.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71734\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-32.png\" width=\"919\" height=\"592\" \/><\/p>\n<p>Now, we will create a dashboard from the \u2018Employee_ExcelBook\u2019 workbook. As shown below, select the Excel chart and click \u2018pin\u2019.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71735\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-33.png\" width=\"1169\" height=\"557\" \/><\/p>\n<p>Once you click \u2018pin\u2019, you will see a new prompt to select dashboard. Select the \u2018<em>new dashboard<\/em>\u2018 option, assign the name <em>\u2019EmployeeDashboard\u2019<\/em> and click<em> \u2018ok\u2019.<\/em> A new dashboard called <em>\u2019EmployeeDashboard\u2019 will<\/em> appear under \u2018My workspaceDashboard\u2019<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71736\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-34.png\" width=\"804\" height=\"403\" \/><\/p>\n<p>Click on \u2018EmployeeDashboard\u2019 to view the dashboard in Power BI. You can see the \u2018sales by employee\u2019 chart in dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1832\" height=\"609\" class=\"wp-image-71737\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-35.png\" \/><\/p>\n<p>In this step, we have \u2018pinned\u2019 a chart and creatd a Power BI dashboard. You can create a Power BI dashboard from Excel without going to Power BI. To create a Power BI dashboard from Excel, download the \u2018<strong>Power BI publisher for Excel<\/strong>\u2019 plugin. Once the \u2018Power BI publisher for Excel\u2019 plugin is installed, you will see the \u2018Power BI\u2019 ribbon in Excel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"191\" class=\"wp-image-71738\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-36.png\" \/><\/p>\n<p>To create a Power BI dashboard, select \u2018<em>chart \/data range\u2019<\/em> and click \u2018<em>pin\u2019<\/em>. If you are already signed in using your Power BI account, you will be prompted to select a dashboard. Choose either the \u2018<em>Existing dashboard\u2019<\/em> or \u2018<em>New dashboard\u2019<\/em> option, assign a dashboard name and click \u2018<em>ok<\/em>\u2019. Now your Power BI dashboard is created.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71739\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-37.png\" width=\"712\" height=\"587\" \/><\/p>\n<p>Once you \u2018pin\u2019 an element and create a Power BI dashboard, you can manage the pinned element using \u2018<em>pin manager\u2019<\/em> in Excel. Click on <em>\u2018Pin Manager\u2019<\/em> and you will see an update option to change the data range, and a remove option to \u2019remove object mapping\u2019 between Excel and Power BI. This remove option does not delete the chart from Power BI but any further changes in the chart will no longer be reflected in Power BI. To delete a data object from the Power BI dashboard, you would need to open \u2018app.powerbi.com\u2019 and delete the chart from there.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1312\" height=\"762\" class=\"wp-image-71740\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-38.png\" \/><\/p>\n<p>You have seen several ways to create a Power BI dashboard. Once the dashboard is created, you can share this dashboard with other users. To share the dashboard, you must go to app.powerbi.com. Open \u2018app.powerbi.com\u2019, go to \u2018<em>My WorkspaceDashboards actions<\/em>\u2019, click on \u2018<em>share\u2019<\/em> and enter the email addresses of the people with whom you want to share the dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71741\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-39.png\" width=\"981\" height=\"602\" \/><\/p>\n<p>Users can access the shared dashboard by logging in to app.powerbi.com. On left-panel users can see a \u2018<em>shared with me\u2019 <\/em>option. Click on \u2018<em>shared with me\u2019<\/em> to view the list of shared dashboards.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71742\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-40.png\" width=\"211\" height=\"326\" \/><\/p>\n<p>So far, we have published the Excel file, created a dashboard and shared this dashboard in Power BI. If you want to update published data, you can modify the Excel file locally and republish the Excel file with the same name to Power BI. Excel changes should be reflected automatically in Power BI dashboard as shown below.<\/p>\n<p>In Excel, open the \u2018<em>employee_Excelbook.xlsx<\/em>\u2019 file, change the industry name \u2018<em>Long Term Equity<\/em>\u2019 to \u2018<em>Long Term Equity 1\u2019<\/em>, save and republish the Excel file to the Power BI app.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71743\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-41.png\" width=\"643\" height=\"733\" \/><\/p>\n<p>Open the Power BI app and you can then see that the \u2018EmployeeDashboard\u2019 dashboard is updated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71744\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-42.png\" width=\"714\" height=\"497\" \/><\/p>\n<p>Here we have published \u2018as is\u2019 an Excel file to Power BI. But if you have more than one dataset in Excel and you want to create an interactive dashboard using those dataset, you will need to create a data model in Excel, publish the data model and then create a visualization in Power BI, as covered in the next section.<\/p>\n<h2><a id=\"post-71729-_Toc487814688\"><\/a>Create data model in Excel and visualization in Power BI<\/h2>\n<p>To create an interactive dashboard in Power BI using more than one dataset, first we need to create a data model in Excel. Open a new Excel file and copy the two data sets below. Save the Excel file \u2018Employee_ExcelData.xlsx\u2019<\/p>\n<table>\n<thead>\n<tr>\n<td>\n<p><strong>Employee<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Sales<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Client<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Product<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Industry<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p>John<\/p>\n<\/td>\n<td>\n<p>100<\/p>\n<\/td>\n<td>\n<p>ABC<\/p>\n<\/td>\n<td>\n<p>Long Term Equity<\/p>\n<\/td>\n<td>\n<p>Real Money<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>David<\/p>\n<\/td>\n<td>\n<p>200<\/p>\n<\/td>\n<td>\n<p>XYZ<\/p>\n<\/td>\n<td>\n<p>Short Term Corporate Bond<\/p>\n<\/td>\n<td>\n<p>HedgeFund<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Lina<\/p>\n<\/td>\n<td>\n<p>600<\/p>\n<\/td>\n<td>\n<p>PQR<\/p>\n<\/td>\n<td>\n<p>Future<\/p>\n<\/td>\n<td>\n<p>HedgeFund<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Stephanie<\/p>\n<\/td>\n<td>\n<p>300<\/p>\n<\/td>\n<td>\n<p>ABC<\/p>\n<\/td>\n<td>\n<p>Long Term Equity<\/p>\n<\/td>\n<td>\n<p>Real Money<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<thead>\n<tr>\n<td>\n<p><strong>Employee<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>State<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p>John<\/p>\n<\/td>\n<td>\n<p>Hawai<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>David<\/p>\n<\/td>\n<td>\n<p>Hawai<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Lina<\/p>\n<\/td>\n<td>\n<p>NY<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Stephanie<\/p>\n<\/td>\n<td>\n<p>NY<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now we will convert this dataset into table format. In Excel file, select the data set, click on \u2018<em>Insert\u2019 <\/em>\u2019<em>Table\u2019<\/em>. Then press \u2018<em>Ok<\/em>\u2019 to create the table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"454\" class=\"wp-image-71745\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-43.png\" \/><\/p>\n<p>Name the table as \u2018Employee\u2019. Since we are aiming to use Excel data in Power BI, it is very important to convert data into a table. To create a dataset in Power BI, Excel data must be in tabular format<em>.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"363\" class=\"wp-image-71746\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-44.png\" \/><\/p>\n<p>Repeat the steps to convert the \u2018employee-state\u2019 data into a table. Name the table as \u2018<em>Employee_Region\u2019<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"587\" class=\"wp-image-71747\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-45.png\" \/><\/p>\n<p>Before we export this Excel data to Power BI, we will create a relation between the <strong>Employee<\/strong> and <strong>Employee_Region<\/strong> table. Click \u2018<em>DataRelationships<\/em>\u2019 to open the Relationship window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1171\" height=\"516\" class=\"wp-image-71748\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-46.png\" \/><\/p>\n<p>Click on the \u2018<em>New\u2026<\/em>\u2019 button and select the Excel table names and field names to create a new relationship between the two data set.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"254\" class=\"wp-image-71749\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-47.png\" \/><\/p>\n<p>Click <em>\u2018ok\u2019<\/em> to close the \u2018<em>manage relationship\u2019<\/em> dialog box and save the \u2018Employee_ExcelData.xlsx\u2019 file. The Excel data model is created and is ready to publish. In Excel 2016, go to the File menu and click \u2018<em>Publish\u2019<\/em>. To export Excel data to Power BI, select an option <em>\u2018Export workbook data to Power BI\u2019<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1047\" height=\"739\" class=\"wp-image-71750\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-48.png\" \/><\/p>\n<p>Once the data is published to Power BI, you will see a message in the Excel file<em> \u2018PUBLISH TO POWER BI Workbook exported successfully\u2019\u2019. <\/em>Open \u2018app.powerbi.com\u2019, click on <em>\u2018My Workspace\u2019Dataset and <\/em>you will see published data set \u2018Employee_ExcelData\u2019. In the \u2018Datasets\u2019 section, you can see list of datasets sourced from various supported data sources such as SQL, Excel, SSAS cube and Oracle. If you want to view the dataset, Power BI provides the \u2018<em>Analyze in Excel\u2019<\/em> option. Click the eclipse icon [\u2026] and select <em>\u2018Analyze in Excel\u2019. <\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"823\" height=\"536\" class=\"wp-image-71751\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-49.png\" \/><\/p>\n<p>Once you click on \u2018Analyze in Excel\u2019,the Microsoft Office Data Connection file \u2018.odc\u2019 will get downloaded to your machine. Open the downloaded file in Excel and you will see the dataset fields in a pivot table. Now, select and filter the fields, you can view the data in Power Pivot Table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"700\" class=\"wp-image-71752\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-50.png\" \/><\/p>\n<p><em>The \u2018Power BI publisher for Excel<\/em>\u2019 plugin is another way to analyze a Power BI dataset in Excel. First install the \u2018<em>Power BI publisher for Excel<\/em>\u2019 plugin and then click on the Power BI ribbon, there is an option \u2018<em>Connect to Data\u2019<\/em>. Using \u2018<em>Connect to Data\u2019<\/em> option, you can connect to a Power BI dataset and analyze the data in Excel. As we have seen before, the \u2018<em>Power BI publisher for Excel<\/em>\u2019 plugin is also used to \u2018pin\u2019 a data element and create a dashboard.<\/p>\n<p>From \u2018<em>My workspace\u2019<\/em>, select the datatype \u2018report\/dataset\u2019. Choose the report \/dataset name and hit \u2018<em>connect\u2019.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"771\" class=\"wp-image-71753\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-51.png\" \/><\/p>\n<p>Once you hit the \u2018<em>connect\u2019<\/em> button, you will see Power BI dataset\/report in the Excel Power pivot table. Using the \u2018Power BI\u2019 ribbon, we can connect to any Power BI app report\/dataset and analyze the data in Excel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1424\" height=\"634\" class=\"wp-image-71754\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-52.png\" \/><\/p>\n<p>Once you view\/analyze data, you can create a report in Power BI. Go to the app.powerbi.com &gt; <em>\u2019My Workspace\u2019<\/em> &gt; \u2018<em>dataset\u2019 <\/em>. Click on the chart icon to create a report in Power BI.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1037\" height=\"478\" class=\"wp-image-71755\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-53.png\" \/><\/p>\n<p>In the report section, double click on \u2018<em>pie chart\u2019<\/em> or any other visualization. Once an empty visualization chart is in the report section, select thetable fields. In Excel, we have defined a relation between the \u2018Employee\u2019 and \u2018Employee_Region\u2019 dataset, so in a chart you can select fields from either dataset. Select the \u2018sales\u2019 field from the \u2018Employee\u2019 dataset and the \u2018state\u2019 field from the \u2018Employee_Region\u2019 dataset. The chart shows \u2018<em>sales\u2019<\/em> number by \u2018state\u2019. Save the report \u2018<em>Employee_ExcelReport\u2019<\/em>. As you have seen before, in order to to add any chart to dashboard, select \u2018<em>chart<\/em>\u2019 and click <em>\u2018Pin\u2019<\/em>. We have also seen how to share a dashboard with different users.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1392\" height=\"562\" class=\"wp-image-71756\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-54.png\" \/><\/p>\n<p>Once your data is published in Power BI, you can use various Power BI features. Using Power BI, you can refresh data, view the dashboard in mobile and share reports. Power BI allows users to import data as well. In next section we will cover, how to import data from Power BI.<\/p>\n<h2><a id=\"post-71729-_Toc487814689\"><\/a>Import data from Power BI<\/h2>\n<p>As you have seen, you can publish Excel file to Power BI. There is a way to get data from \u00a0Excel to the Power BI app. Using \u2018<em>Get data\u2019<\/em> option in Power BI, you can import \u00a0an Excel work book and Excel data to Power BI. Open \u2018app.powerBI.com\u2019, in left panel you will see the \u00a0\u2018<em>Get data<\/em>\u2019 option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"352\" class=\"wp-image-71757\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-55.png\" \/><\/p>\n<p>Click on \u2018<em>Get data<\/em>\u2019 and you will see several options to select data source. To import data from Excel, under \u2018<em>Files<\/em>\u2019 tile, click \u2018<em>Get\u2019<\/em> to choose Excel file location. Now you have two options \u2018<em>Import Excel data into Power BI\u2019<\/em> and \u2018<em>Upload your Excel file to Power BI\u2019. <\/em>If you select <em>\u2018Import Excel data into Power BI\u2019 option, <\/em>only Excel data appear in Power BI and you can create visualization in Power BI. If you select \u2018<em>Upload your Excel file to Power BI\u2019 <\/em>option, \u2018<em>as is<\/em>\u2019 Excel file will upload in Power BI app.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-71759\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2017\/07\/word-image-57.png\" width=\"732\" height=\"483\" \/><\/p>\n<p>Once you Import data in Power BI, the data will appear under \u2018<em>My workspace\u2019<\/em> \u2018<em>Datasets<\/em>\u2019. If you have selected the \u2018<em>Upload<\/em>\u2019 option in Power BI, the file will appear under \u2018<em>My workspace<\/em>; ;<em>WorkBooks\u2019<\/em>. As you have seen, there are many ways to connect Excel with Power BI. If you are in Power BI app, you can use a <em>\u2018Get Data\u2019<\/em> option to get the Excel file into Power BI. If you are in Excel, you can use the \u2018<em>publish<\/em>\u2019 option to publish an Excel file to Power BI.<\/p>\n<h2><a id=\"post-71729-_Toc487814690\"><\/a>Conclusion<\/h2>\n<p>In this article, we have seen that Excel and Power BI are easily connected together . \u00a0Power BI is an easy tool to work with, and no complex coding is required. Power BI is adding business intelligence capability to Excel. Power BI allows people to collaborate in using Excel and provides additional features such as visualization, sharing etc. Excel with Power BI create a robust BI solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel and Power BI work well together. This allows you to use the two tools together to provide for many types of business workflow and BI practices.  You can publish an Excel file to Power BI to  share with others, analyse a Power BI dataset in Excel or import either an Excel workbook or Excel data to Power BI. You can gain the workgroup power and business-orientation of  Power BI without losing the ease and versatility of Excel. Saurabh shows how.&hellip;<\/p>\n","protected":false},"author":281524,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[143528],"tags":[],"coauthors":[42439],"class_list":["post-71729","post","type-post","status-publish","format-standard","hentry","category-bi-sql-server"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/71729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/281524"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=71729"}],"version-history":[{"count":5,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/71729\/revisions"}],"predecessor-version":[{"id":71910,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/71729\/revisions\/71910"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=71729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=71729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=71729"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=71729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}