Is there a way to collect and show more than 2000 records in a gallery using CDS data source (D365)?

Is there a way to collect and show more than 2000 records in a gallery using CDS data source (D365)?
@SumanLoha You can collect and show more that 2K records although it is not recommended. If for example you have a table for People, you can do a collect for names that start with each alphabet (i.e you will have 26 collects). In other scenarios if you have some ID, you can collect based on ID range (1-2000, 2001-4000 etc.,). It all depends on the data you have. But if you can filter the data before fetching it and keep it under 2K, your App would be performant.