Uredi

Deli z drugimi prek


Create a report from an Excel file in the Power BI service

APPLIES TO: Power BI Desktop Power BI service

You've read Reports in Power BI and now you want to create your own. There are different ways to create a report. In this article, we start by creating a basic report in the Power BI service from an Excel file. Once you understand the basics of creating a report, check out the Related content for more articles.

Prerequisites

Import the Excel file

This method of creating a report starts with a file and a blank report canvas. If you want to follow along, download the Retail Analysis sample Excel file and save it to your computer or to OneDrive for work or school.

  1. In the navigation pane, select My Workspace. Then select New > Semantic model.

    Screenshot of the Power BI service, highlighting New and Semantic model.

  2. Select Excel.

    Screenshot of the Add data to get started dialog, highlighting Excel.

  3. Select Browse this device. Go to the location where you saved the Retail Analysis sample then select Open.

    Screenshot of Select a file dialog, highlighting the Retail Analysis Sample.

    After the Excel file imports, it's listed as a semantic model in the workspace list.

  4. Next to the semantic model, select More options (...), and then choose Create report.

    Screenshot of My workspace, highlighting more options and Create report.

  5. The report editor opens.

    Screenshot of the Power BI service report editor.

Tip

Select the menu icon to hide the navigation pane to give you more room.

Screenshot highlighting the Hide the navigation pane icon.

Add a radial gauge to the report

Now that our semantic model is imported, let's start answering some questions. Our Chief Marketing Officer (CMO) wants to know how close the company is to meeting this year's sales goals. Learn how a gauge is a good visualization choice for displaying this type of information with Visualizations in Power BI reports.

  1. In the Data pane, select Sales > This Year Sales > Total Sales Variance.

    Screenshot of the report editor, highlighting the Data pane, Sales, This Year Sales, and Value.

  2. Convert the visual to a gauge by selecting the gauge template icon from the Visualizations pane.

    Screenshot of the visual and the Visualizations pane, highlighting the Gauge template icon.

  3. Drag Sales > This Year Sales > Goal to the Target value well. Looks like we're close to our goal.

    Screenshot of the Visualizations and Data panes, highlighting Target value and Goal.

  4. Now would be a good time to save your report.

    Screenshot highlighting the Save this report option.

Add an area chart and slicer to the report

Our CMO has other questions for us to answer. They'd like to know how sales this year compare to last year. They'd also like to see the findings by district.

  1. First, let's make some room on our canvas. Select the gauge and move it into the top-right corner. Then grab and drag one of the corners and make it smaller.

  2. Deselect the gauge. In the Data pane, select Sales > This Year Sales > Value and select Sales > Last Year Sales.

    Screenshot of the visualization with Last Year Sales and Value selected in the Data pane.

  3. Convert the visual to an Area chart by selecting the Area chart template from the Visualizations pane.

  4. Select Time > Period to add it to the X-Axis well.

    Screenshot of the Visualizations pane, highlighting Period in the X axis.

  5. To sort the visualization by time period, select the ellipses and choose Sort by Period.

  6. Now let's add the slicer. Select an empty area on the canvas and choose the Slicer template. We now have an empty slicer on our canvas.

    Screenshot showing an empty slicer on the canvas.

  7. From the Data pane, select District > District. Move and resize the slicer.

    Screenshot of the slicer, highlighting District in the Visualizations pane.

  8. Use the slicer to look for patterns and insights by District.

    Animation showing the results of different selections with the slicer.

Continue exploring your data and adding visualizations. When you find especially interesting insights, learn how to pin them to a dashboard with Create a Power BI dashboard from a report.