Hi, I have an app where I want to display last 6000 records. Currently I'm getting last 2000 records as power apps only supports 2000 rows data. Now using ID column how can I get the last 6000 rows record? I'm sharing my gallery item's formula below:
Sort(
AddColumns(
GroupBy(
Filter(
datasource,
(
(IsBlank(Dropdown_date.Selected) And date = Int(latest_date.Text)
) Or date = Int(Dropdown_date.SelectedText.Value)),
(
(IsBlank(Dropdown_city.Selected) And city = city
) Or city = Dropdown_city.SelectedText.Value)
),"PRODUCT_CODE", "from_store", "FS_OH", "GroupItems"),
"TotalTransferValue", Sum(GroupItems, transfer_value)
),
PRODUCT_CODE,
SortOrder.Ascending
)