I have an app I made over a year ago that is now running into the 2000 record limit. It was supposed to be replaced with something else so I did not troubleshoot it at the time but the replacement was delayed.
My job duties have changed and I no longer have time to trouble shoot this and I am out of practice with the formulas anyway. I would like to adjust it so only the most recent 500 records are pulled into the gallery list in the app.
Formula:
SortByColumns(Filter([@'Test Global Micro KPI''s'], StartsWith(Site.Value, TextInput1.Text)), "Title", If(SortAscending1, Ascending, Descending), "Date", If(SortAscending1, Ascending, Descending))
Can anyone give me some guidance on how to adjust the formula so only the most recent 500 records are displayed?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
Try this
SortByColumns(
Filter(
Sort(
[@'Test Global Micro KPI''s'],
ID,
Descending
),
StartsWith(
Site.Value,
TextInput1.Text
)
),
"Title",
If(
SortAscending1,
Ascending,
Descending
),
"Date",
If(
SortAscending1,
Ascending,
Descending
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Anonymous ,
Try this
SortByColumns(
Filter(
Sort(
[@'Test Global Micro KPI''s'],
ID,
Descending
),
StartsWith(
Site.Value,
TextInput1.Text
)
),
"Title",
If(
SortAscending1,
Ascending,
Descending
),
"Date",
If(
SortAscending1,
Ascending,
Descending
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
That seems to work, thank you! The delegation warning is still present. Will that cause any issues down the road?
Hi @Anonymous ,
No as you have used the most recent records, however if you do not want to see the warning (the data will still always be the same), do this
With(
{
wList:
Sort(
[@'Test Global Micro KPI''s'],
ID,
Descending
)
},
SortByColumns(
Filter(
wList,
StartsWith(
Site.Value,
TextInput1.Text
)
),
"Title",
If(
SortAscending1,
Ascending,
Descending
),
"Date",
If(
SortAscending1,
Ascending,
Descending
)
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
261 | |
110 | |
90 | |
54 | |
44 |