Power BI data samples are built-in or downloadable datasets you can load into Power BI Desktop to practice building reports without needing your own data. You get them by choosing "Get data" and either using the built-in sample workbooks or downloading the official sample files from Microsoft's documentation. No special setup is required beyond installing Power BI Desktop.
What You'll Need
- A computer running Windows (Power BI Desktop is Windows-only; Mac users can use Power BI Service in a browser but not Desktop).
- Power BI Desktop installed from the Microsoft Store or the official Power BI website.
- An internet connection to download sample files (the built-in samples work offline once Desktop is installed).
- Optional: a Power BI account (free or Pro) if you want to publish reports to the Power BI Service.
Step-by-Step
- Open Power BI Desktop. Launch the app from the Start menu. If you see a splash screen, close it to reach the main window.
- Load a built-in sample. Go to File > Open and look for the sample files listed under "Samples" or use Get data > Samples (labels vary slightly by version). Power BI Desktop includes sample datasets such as Customer Profitability Sample, Human Resources Sample, IT Spend Analysis Sample, Opportunity Analysis Sample, Procurement Analysis Sample, Retail Analysis Sample, Supplier Quality Analysis Sample, and Sales and Marketing Sample. Choose one and click Load.
- Alternatively, download official sample files. Visit Microsoft's Power BI documentation and search for "sample datasets." Download the .pbix files (for example, the Sales and Marketing sample) and open them directly in Power BI Desktop via File > Open. These files come pre-built with reports and data models.
- Explore the data model. In the left pane, click the Model view (the icon that looks like connected tables). Review the relationships between tables. This helps you understand how the sample is structured.
- View the report pages. Click Report view (the bar chart icon). Browse the pre-built visuals. Hover over charts to see tooltips and cross-filtering behavior.
- Create your own visual. In Report view, select a blank area on the canvas. In the Visualizations pane, pick a chart type (e.g., Bar chart). Drag fields from the Fields pane into the visual's Axis and Values wells. The sample data will populate the chart.
- Add a slicer or filter. Drag a categorical field (like Region or Product) onto the canvas, then choose the Slicer visual. Use it to filter other visuals on the page.
- Save your work. Go to File > Save As and save the .pbix file to your computer. You can reopen it later to continue practicing.
- Optional: publish to Power BI Service. If you have an account, click Publish in the Home ribbon and choose a workspace. This lets you view the report in a browser.
Common Mistakes
- Expecting samples to appear automatically. Built-in samples are not always visible on the Start screen; you may need to use File > Open or download the .pbix files from Microsoft's site.
- Confusing sample data with live data. Samples are static and for learning only. Do not use them for production reporting.
- Ignoring the data model. Jumping straight into visuals without checking relationships can lead to incorrect aggregations.
- Using the wrong Power BI version. Power BI Desktop is updated monthly; older versions may lack some sample files or features.
- Forgetting to save. Power BI Desktop does not auto-save by default; save your .pbix file regularly.
Tips
- Start with the Sales and Marketing sample if you are new; it is well-documented and covers common scenarios.
- Use Performance Analyzer (View ribbon) to see how long visuals take to load—useful for learning optimization.
- Duplicate report pages to experiment without breaking the original layout.
- Rename your visuals and pages for clarity as you build.
- Check the Fields pane to understand data types; wrong types cause aggregation errors.
Troubleshooting
If a sample file fails to open, ensure you have the latest Power BI Desktop version. Corrupted downloads are common; re-download the .pbix file. If visuals show errors, check that relationships are active and that fields are correctly typed. If you cannot find built-in samples, use the official Microsoft sample files instead. For publishing issues, verify your account has permission to the workspace. If Power BI Desktop crashes, try restarting the app or reinstalling from the official source.
Frequently Asked Questions
Where can I find official Power BI sample files?
Microsoft's Power BI documentation page hosts downloadable .pbix sample files. Search for "Power BI sample datasets" on Microsoft's site.
Can I use Power BI Desktop on a Mac?
No, Power BI Desktop is Windows-only. Mac users can use Power BI Service in a browser, but not Desktop.
Do sample files require a Power BI license?
No, you can open and edit sample files in Power BI Desktop for free. Publishing to the Service requires an account.
How do I refresh sample data?
Sample files are static; they do not connect to live sources. To practice refresh, import your own data or use a sample that connects to a web source.
Can I modify the sample data?
Yes, you can edit queries in Power Query Editor or add calculated columns. Changes are saved in your copy of the .pbix file.
Why do some visuals show blank or errors?
This usually indicates missing relationships, incorrect data types, or filters that exclude all data. Check the Model view and field settings.