Power BI Table Visual Row Limit: How to Handle It
In this article
The table visual in Power BI does not have a fixed row limit like 1,000 or 10,000 rows. Instead, it displays all rows from your data model that are relevant to the current filter context, subject to the overall model size and the capacity of the Power BI service or Desktop. However, there is a practical limit: the visual can become slow or unreadable with thousands of rows. To control the number of rows shown, you can use filters, Top N, or aggregation. This guide explains how to manage the row count in a table visual, what to do when you hit performance issues, and common pitfalls.
What You'll Need
- Power BI Desktop (any recent version) or access to the Power BI service.
- A dataset loaded into your report.
- Basic familiarity with the Filters pane and visual fields.
Step-by-Step
- Understand the default behavior. When you add a table visual and drag fields into the Values well, Power BI shows every row that matches the current filters. There is no built-in row cap in the visual itself. The number of rows is limited only by the data model and the rendering capacity of your device or browser. If your table has 50,000 rows, it will try to render all of them, which can slow down the report.
- Apply filters to reduce rows. Use the Filters pane to limit the data. For example, add a date field to the filter and select a specific month or year. You can also filter by category, region, or any other field. This is the most straightforward way to control row count without changing the visual.
- Use Top N filtering. In the Filters pane, drag the field you want to rank (e.g., Sales Amount) into the filter well, then select "Top N" from the filter type dropdown. Set the number of rows you want to show (e.g., 100) and choose whether to show the top or bottom values. This is useful for showing the highest-performing items without displaying the entire dataset.
- Aggregate data before it reaches the visual. Instead of showing raw rows, use a table visual with summarized fields. For example, instead of listing every transaction, group by Customer and show total sales. You can do this by dragging a dimension (like Customer Name) to the Rows well and a measure (like Total Sales) to the Values well. Power BI will automatically aggregate the data, reducing the number of rows to one per unique customer.
- Limit rows with a measure and a visual-level filter. If you need a dynamic row limit, create a measure that ranks rows and then use a visual-level filter to show only rows where the rank is below a threshold. For example, create a measure
Rank = RANKX(ALL('Table'), [Sales])and then add a filter on the table visual:[Rank] <= 100. This keeps the top 100 rows by sales. - Check the visual's row limit in the Power BI service. In the Power BI service, there is a limit on the number of rows that can be exported from a visual (30,000 rows by default, configurable by admins). However, this applies to export, not display. For display, the service may impose a limit on the number of data points rendered, but it is not a fixed row count. If you see a message like "Too many values to display", reduce the rows with filters or aggregation.
- Adjust the visual for performance. If your table is still slow, consider these options: turn off auto-loading of the visual (if available), reduce the number of columns, or use a matrix visual with drill-down instead of a flat table. You can also set the visual to load only when clicked (via the "Edit interactions" or "Format" pane options, if available).
- Test and iterate. After applying filters or aggregation, check the row count by looking at the bottom of the visual or using a card visual to count rows. Adjust the filter or Top N value until you have a manageable number of rows for your audience.
Common Mistakes
- Expecting a hard-coded row limit. Many users look for a setting like "Maximum rows" in the table visual format options. There is no such setting. The row count is determined by the data and filters.
- Forgetting that filters apply to the visual, not the data model. Filters you add to a visual only affect that visual. If you need to limit rows across multiple visuals, use a report-level or page-level filter.
- Using Top N without sorting. Top N filtering requires a field to rank by. If you don't specify a ranking field, the filter may not work as expected.
- Ignoring performance warnings. Power BI may show a warning when a visual has too many rows. Heed these warnings and reduce the row count.
- Assuming export limits equal display limits. The export row limit (e.g., 30,000) is separate from what the visual displays. You can display more rows than you can export, but performance may suffer.
Tips
- Use the "Count Rows" measure to quickly see how many rows your table visual is rendering. Create a measure
Row Count = COUNTROWS('Table')and display it in a card. - For large datasets, consider using the "Aggregate" feature in Power Query to pre-aggregate data before loading it into the model. This reduces the number of rows in the model and improves performance.
- If you need to show a large table for scrolling, consider using the "Matrix" visual with drill-down, which can handle more rows efficiently.
- Use the "Performance Analyzer" in Power BI Desktop to see how long the table visual takes to render. If it's slow, reduce rows or simplify the visual.
- When sharing reports, be mindful that viewers on slower connections may experience delays with large tables. Provide filters or slicers to let them narrow down the data.
Troubleshooting
If your table visual is not showing the expected number of rows, check these common issues:
- Visual is blank or shows fewer rows than expected: Check the Filters pane for any active filters that might be excluding rows. Also, ensure that the fields in the Values well are not set to "Don't summarize" when you expect aggregation.
- Performance is slow: Reduce the number of rows with filters or aggregation. Also, check if the visual is using a high-cardinality column (like a unique ID) that creates many rows. Remove unnecessary columns.
- "Too many values" error: This can occur when a visual tries to render more data points than the service allows. Reduce rows with filters or switch to a different visual type.
- Export fails due to row limit: If you need to export more than the default limit, ask your Power BI admin to increase the export row limit in the tenant settings. Note that this is an admin setting and may not be available in all organizations.
- Table visual shows all rows but you want a summary: Use the "Group By" functionality in Power Query or create a summarized table using DAX. Alternatively, use a matrix visual with row groups.
Frequently Asked Questions
Is there a maximum number of rows a table visual can display in Power BI?
There is no fixed maximum row limit for display in Power BI. The visual will attempt to render all rows that match the filters. However, practical limits exist based on the capacity of your device or browser, and the Power BI service may impose limits on data points for rendering. For performance, it's best to keep the row count under a few thousand.
How can I limit the table visual to show only the top 10 rows?
Use the Top N filter. Drag the field you want to rank by into the Filters pane, select "Top N" as the filter type, set the number to 10, and choose whether to show top or bottom values. Then drag the same field or another dimension into the visual's Rows well.
Why does my table visual show more rows than I expect after applying a filter?
Filters in the Filters pane apply to the visual, but if you have multiple filters or slicers, they combine. Check that all filters are set correctly. Also, ensure that the filter is applied to the correct field and that the visual is not using a measure that ignores filters (e.g., using ALL in DAX).
Can I export more than 30,000 rows from a table visual?
The default export limit in the Power BI service is 30,000 rows, but this can be increased by your administrator in the tenant settings. In Power BI Desktop, you can export to CSV without this limit, but the export may be slow for very large tables.
What is the difference between row limit and data point limit in Power BI?
Row limit refers to the number of rows in a table visual. Data point limit refers to the number of data points a visual (like a line chart) can render before hitting a limit. For table visuals, the concept is similar: too many rows can cause performance issues or rendering errors.
How do I show a message when the table visual exceeds a certain number of rows?
You can create a measure that checks the row count and use it in a card visual or as a conditional format. For example, create a measure Row Warning = IF(COUNTROWS('Table') > 1000, "Too many rows", "OK") and display it near the table.