I have a Sharepoint List named Property Information that has Dates in a column labelled 'Electric Due Dates'. The list currently sorts alphabetically so I've added a Label named 'Date Sort' which I'd like to sort the dates into order so I've used the following formula which isn't working 😞
Sort(Filter('Property Information', Text('Electric Due Date',"[$-en-US]mm/dd/yyyy") = Text(Today(),"[$-en-US]mm/dd/yyyy")), 'Electric Due Date',Ascending)
I've not formula errors but i have 2 warnings :
Issue; Delegation warning. The "Filter" part of this formula might not work correctly on large data sets.
The data source might not be able to process the formula and might return an incomplete data set.
Your application might not return correct results or behave correctly if the data set is incomplete.
How to fix:
1. If you data set exceeds the 500 record limit but contains less than 2,000 records, try resetting the limit.
2. Try simplifying the formula
3. Try moving your data to a different data source.
I can confirm i only have around 80 lines in the SharePoint so don't think the exceed limit is a problem?
Any advice pretty please?
The formula seems to have no issues as it has no red flags; the date element must be okay? but if i use the one you've provided it gets red flags? Yeah, it's a Sharepoint list too.
I was working on my iPhone and copied it with a missing character. Does this FILTER show the correct results? If yes, we will workon sorting next. The best way to solve formula issues to go from the inside to the outside.
Filter('Property Information', Text('Electric Due Date',"[$-en-US]mm/dd/yyyy") = Text(Today(),"[$-en-US]mm/dd/yyyy"))
What type of column is Electric Due Date in SharePoint?
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
To me it looks like you have put this code in the OnSelect property of a button. It cannot go there.
What are you trying to do with these dates in your app? Please explain in detail.