# MaximumDatasetSize Property
> Version: _Available or changed with runtime version 6.0._
Sets the maximum amount of rows to be included on the report.
## Applies to
 Report
## Property Value
An integer
## Syntax
```al
MaximumDatasetSize = 2000;
```
## Remarks
At runtime, this property will override the hard limit that is set by the Default Max Rows (ReportMaxRows) setting for Business Central Server instance. The Business Central Server instance also includes the Max Rows (hard limit) (ReportMaxRows) setting, which this property won't override.
For more information on report limits, see ../devenv-report-object#report-limits.
## Related information
devenv-report-properties
../devenv-report-object
Operational Limits for Business Central Online - Reports<../../administration/operational-limits-online#Reports>
Configuring Business Central Server - Reports<../../administration/server-instance-settings#control-reports-documents-and-data-queries>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maximumdatasetsize-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maximumdatasetsize-property/
