Power BI Table Expand Collapse Rows: How-To Guide
In this article
To expand or collapse rows in a Power BI table visual, you use the small chevron (arrow) icons that appear in the row headers when the table has a hierarchy or multiple fields in the Rows well. Click the chevron to expand or collapse that level. If you want all rows expanded or collapsed at once, right-click a row header and choose Expand or Collapse, or use the Expand/Collapse All option in the visual header menu. This works in both Power BI Desktop and the Power BI service, though the exact menu labels can differ slightly by version and region.
What You'll Need
- Power BI Desktop (or access to the Power BI service with edit permissions on a report).
- A table visual that contains at least two fields in the Rows well, or a field that forms a hierarchy (for example, Category and Subcategory).
- Basic familiarity with the Fields pane and the Visualizations pane.
Step-by-Step
- Open your report in Power BI Desktop or in the Power BI service editing view.
- Select the table visual you want to work with. If you do not have one, add a Table visual from the Visualizations pane and drag two or more related fields into the Rows well (for example, Product Category and Product Subcategory).
- Look for chevron icons in the row headers. When a table has multiple fields in Rows, Power BI adds a small arrow next to each row label. The arrow points right when the row is collapsed and down when it is expanded.
- Click a chevron to expand that specific row and reveal the next level of detail. Click it again to collapse. This is the most direct way to expand or collapse individual rows.
- To expand or collapse all rows at once, right-click any row header and choose Expand or Collapse from the context menu. In many versions you will also see Expand All or Collapse All options in the visual header (the icons that appear when you hover over the top-right of the visual).
- Check the Values well if you want the expanded rows to show aggregated numbers. When you expand a row, the values for the lower level are displayed; if you need subtotals, enable them in the Values well or via the visual's formatting options.
- Save or publish the report. The expanded or collapsed state you set in Desktop is generally preserved when you publish, but viewers can still expand and collapse rows themselves in the reading view.
Common Mistakes
- Expecting expand/collapse with only one field in Rows. The chevrons only appear when there is a hierarchy or multiple fields. Add a second field to enable them.
- Confusing table expand/collapse with matrix drill-down. The Matrix visual has its own drill mode (drill down, drill up, expand to next level). The Table visual uses row chevrons instead. Use the Matrix if you need stepper-style drill controls.
- Clicking the chevron in the wrong place. The chevron is part of the row header, not the value cells. Clicking a value cell selects the row but does not expand it.
- Assuming the state is locked for viewers. Readers can expand and collapse rows in the published report unless you restrict interaction. If you need a fixed view, consider using a Matrix with a specific drill state or a bookmark that captures the collapsed view.
- Forgetting that sorting can change which rows are visible. If you sort by a measure, expanded rows may reorder. Collapse first if you want a predictable layout.
Tips
- Use a Matrix visual instead of a Table when you need clear drill-down and drill-up buttons, plus the ability to show subtotals at each level.
- Name your fields clearly in the Fields pane so the row headers are readable when expanded.
- If you want a default collapsed view, collapse all rows before saving the report. Viewers can still expand them, but the initial view will be tidy.
- Use bookmarks to save specific expand/collapse states and add buttons that switch between them. This is useful for reports where you want to guide the reader through levels of detail.
- Keep the number of fields in Rows to two or three. Deep hierarchies make the table hard to read and slow to render.
Troubleshooting
If the chevrons do not appear, first confirm that the table has at least two fields in the Rows well. If it does and you still see no arrows, check that the fields are not all from the same flat column with no relationship; Power BI needs a hierarchy or multiple fields to create levels. Try removing and re-adding the fields, or switch to a Matrix visual to test whether the data supports drilling.
If clicking a chevron does nothing, make sure you are in editing view (Desktop or the service editor) and that the visual is not pinned as an image. Pinned visuals are static and cannot be expanded. Also check that the report is not in a reading view where interactions are limited by the author.
If expanded rows show blank values, the lower-level field may have no matching records for that parent row. Verify the data model relationships and that the fields come from related tables. If the table uses a measure that returns blank at the lower level, adjust the measure or use a different aggregation.
If the expand/collapse state resets after publishing, note that the service may render the visual differently depending on the viewer's interactions. Use bookmarks if you need a consistent starting state, and test the published report in a browser to confirm behaviour.
Frequently Asked Questions
Why do I not see expand/collapse arrows in my table?
The Table visual only shows chevrons when there are multiple fields in the Rows well or a hierarchy. Add a second related field to enable them.
Can I expand all rows at once?
Yes. Right-click a row header and choose Expand, or use the Expand All option in the visual header menu if available in your version.
Does expand/collapse work in the Power BI service?
Yes, in the editing view and in reading view for viewers, provided the visual is a Table with multiple row fields. Pinned visuals are static and cannot be expanded.
What is the difference between Table expand/collapse and Matrix drill-down?
The Table uses row chevrons to show or hide the next level. The Matrix has dedicated drill buttons and supports drill down, drill up, and expand to next level, plus subtotals.
Can I lock the expanded or collapsed state for viewers?
Not completely. Viewers can interact with the visual. Use bookmarks to capture a specific state and add buttons to switch between views if you need a guided experience.
Why do expanded rows show blank values?
The lower-level field likely has no matching records for that parent row, or the measure returns blank at that level. Check relationships and measure logic.