Questions tagged [max]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
114 views

lightning input type = date, max attribute behaviour not similar in production and lower enviornment

I used max attribute of lightning input type date to disable the future dates in date picker. It was working in lower environments, but not working in production. In Lower Environments: It shows the ...
0
votes
0answers
38 views

How do I format a query to pull out all records where the date = max date of the records?

I have an object that stores performance data for another object (eg Account). The performance data is loaded at various times (ie can be monthly, quarterly, annually) so there will be multiple ...
7
votes
1answer
1k views

How to get MAX value using SOQL when there are more than 50,000 rows

I would like to run this query: SELECT MAX(Auto_Number__c) MaxNumber FROM Opportunity But I am getting this error: System.LimitException: Too many query rows: 50001 Because there are more than a ...