{"componentChunkName":"component---src-templates-blog-post-js","path":"/get-data-for-practice","result":{"data":{"markdownRemark":{"html":"<p><img src=\"https://user-images.githubusercontent.com/10103699/205779305-ddf2b7b1-1e5b-4aa0-86fe-90ddfa85ee7a.jpg\" alt=\"pb-data1\"></p>\n<h6><em>Photo by <a href=\"https://unsplash.com/@dawson2406?utm_source=unsplash&#x26;utm_medium=referral&#x26;utm_content=creditCopyText\">Stephen Dawson</a> on <a href=\"https://unsplash.com\">Unsplash</a></em></h6>\n<p>If you're a Power BI beginner, samples available in the <a href=\"https://learn.microsoft.com/en-us/power-bi/create-reports/sample-datasets\">Power BI tutorials</a> by Microsoft are a great place to get started.</p>\n<p>In this post, I go through the steps to view the sample data in excel, so that you can use the data for practice purposes.</p>\n<p>I'll use the <a href=\"https://learn.microsoft.com/en-us/power-bi/create-reports/sample-human-resources\">Human Resources sample</a>\nas a starting point, as I'm using it for a practice project myself.</p>\n<h3>Download the Excel file</h3>\n<p>First, open the tutorial for <a href=\"https://learn.microsoft.com/en-us/power-bi/create-reports/sample-human-resources\">Human Resources sample</a> in your browser.\nThis article contains very informative and detailed explanations on how to use the data to build a Power BI report. </p>\n<p>Next, go to the <a href=\"https://learn.microsoft.com/en-us/power-bi/create-reports/sample-datasets#download-sample-excel-files\">Download excel samples</a> page,\nwhich leads to the <a href=\"https://github.com/microsoft/powerbi-desktop-samples/tree/main/powerbi-service-samples\">GitHub repository</a> where the Excel file is shared. </p>\n<p>Download the Excel file and open the file in your machine. An important thing to note is that to view the data you'll need the Power Pivot\nfeature in Excel, which is only available in Excel for Windows. If you are using Mac OS, you may need to use a separate Windows machine, or a\nWindows Virtual machine with Excel installed.</p>\n<h3>Install Power Pivot</h3>\n<p>If you don't have Power Pivot tab in Excel, you can install it in a few simple steps. </p>\n<ol>\n<li>In Excel (for Windows), go to <code class=\"language-text\">File</code> and then <code class=\"language-text\">Options</code>.</li>\n<li>Select <code class=\"language-text\">Add-ins</code> from the left pane and select <code class=\"language-text\">COM Add-ins</code> at the bottom. Click <code class=\"language-text\">Go</code>.</li>\n</ol>\n<p><img src=\"https://user-images.githubusercontent.com/10103699/205799764-c116f6d7-5482-4b86-b03c-ad6670075ec3.png\" alt=\"pd-data2\"></p>\n<h6><em>Install Add-ins in Microsoft Excel</em></h6>\n<ol start=\"3\">\n<li>In the dialog box, tick the <code class=\"language-text\">Microsoft Power Pivot for Excel</code> and click <code class=\"language-text\">OK</code>. You'll be able to see the <code class=\"language-text\">Power Pivot</code> tab added to the Excel ribbon on top.</li>\n</ol>\n<p><img src=\"https://user-images.githubusercontent.com/10103699/205799789-6e819c24-bd85-4b42-89ce-90fe9ef9f8e0.png\" alt=\"pb-data3\"></p>\n<h6><em>Add Power Pivot to Excel</em></h6>\n<h3>View data</h3>\n<p>When you open the downloaded file, you'll see only a single <code class=\"language-text\">Info</code> tab.\nBecause the data is stored in the Power Query data model, you can view data using Power Pivot tab.</p>\n<ol>\n<li>Go to the <code class=\"language-text\">Power Pivot</code> tab and select <code class=\"language-text\">Manage</code>.</li>\n</ol>\n<p><img src=\"https://user-images.githubusercontent.com/10103699/205799822-0919707f-3bdc-4754-a60a-b104e4fc7032.png\" alt=\"pb-data4\"></p>\n<h6><em>Power Pivot tab in Excel</em></h6>\n<ol start=\"2\">\n<li>This will open a new window where you can view the data in the Power query model. Select the <code class=\"language-text\">Employee</code> tab to view the complete HR dataset.</li>\n</ol>\n<p><img src=\"https://user-images.githubusercontent.com/10103699/205800947-8651c083-dcfe-4139-86b2-6f1578edc5f0.png\" alt=\"pb-data5\"></p>\n<h6><em>Data view in Power Query window</em></h6>\n<p>For my project, I'm extracting the monthly data for 2014 into different files. You can filter the data by the date column,\ncopy the data and paste in a new file to use for your practice project.</p>\n<p><img src=\"https://user-images.githubusercontent.com/10103699/205806291-01a1fefc-bf98-4f14-8b9b-76024bb5e169.png\"></p>\n<h6><em>Extract data into a new file</em></h6>\n<h3>Data usage</h3>\n<p>Note that the GitHub repository is shared with MIT license. It allows you to use the data files for a wide range of purposes.</p>\n<p>Have fun reporting with Power BI!</p>\n<p>Read more about <a href=\"https://malshal.github.io/bitsploit/generate-your-own-dataset\">how I generated my own Vacancy dataset</a> to match the above Human resource dataset to use in Power BI. </p>","frontmatter":{"date":"December 05, 2022","path":"/get-data-for-practice","title":"How to get data from Power BI samples for Practice","tags":["Datasets","Project","Excel","Power BI","Data Visualisation"]}}},"pageContext":{}},"staticQueryHashes":["3649515864"]}