Sub topic 1
Choosing the Right Power BI Visual for Your Data
Prerequisites
Assume you can use the Power BI Desktop report canvas, have a loaded model with related tables, and understand basic aggregations such as sum, average, and count.
Know Your Fields
A field’s type limits the visuals that can use it effectively.
| Field type | Meaning | Common visual role |
|---|---|---|
| Categorical | Labels such as product or region | Axis, legend, or slicer |
| Numeric | Measurable values such as sales or quantity | Values, size, or position |
| Date/time | Points or periods in time | Axis, slicer, or drill-down |
| Geographic | Locations such as country or city | Map location or grouping |
Categorical fields divide data into groups. Numeric fields are usually aggregated, such as SUM or AVERAGE. Date fields support chronological axes and time hierarchies. Geographic fields can place values on a map, but ambiguous names should include a country or region field.
Measures, Aggregation and the Field Wells
A measure is a DAX calculation evaluated in the current filter context. The field wells are the roles shown by a selected visual, such as X-axis, Y-axis, Legend, and Values.
Total Sales = SUM ( Sales[SalesAmount] )Place Product[Category] in the X-axis well and [Total Sales] in the Y-axis or Values well. Power BI then calculates the measure separately for each category. Prefer an explicit measure when the business meaning matters, rather than relying on an automatic aggregation.
Start with the Question, Not the Chart
First identify the task:
- Compare or rank categories.
- Show change over time.
- Explain parts of a whole.
- Find a distribution or relationship.
- Display a location or one headline value.
Then check whether your fields support that task. A chart is useful only when its visual encoding makes the answer easy to see.
Comparing and Ranking Categories with Bar and Column Charts
Use a bar chart to compare many categories or long labels. Use a column chart for fewer categories or a time sequence. Sort descending when ranking matters, and label the measure clearly.
Exercise
Which visual is a strong default for ranking ten product categories by sales?
Show answer
Use a horizontal bar chart with Category as the axis and Total Sales as the value, sorted descending.