Hi,
I would like to add a filter in Business Central which will only show the hightest value of a column.
So, for example you have the values 3, 5 and 10. I only want to display the lines with the value 10.
Thanks in advance.
hello
I did not understand whether you want to get the result from the client directly or from A/L code
anyway, in A/L there is the GETRANGEMAX function:
learn.microsoft.com/.../record-getrangemax-method
check my answer if it helped you, thanks
DAniele
Ah sorry, I had to specify that! I am actually trying to do it via the client. Would be great if there is a way to do that. If not, an extra filter needs to be created via the code.
hi
yes exactly
Hi TomRoskam,I think you can create filter on Page and save it. For example I want to see Item with highest in Inventory. 1) On Item list page click on inventory column click on dropdown arrow, then click on Descending. then system will sort the item list base upon highest Inventory. 2) Now need to save this view so when user will open this page they can see highest value item 1st. To Save View click on 3 dots on Filter fact box and Save it. Hope this will help.Many Thanks,Manan
Hi, The method mentioned by Manan is the easiest way.
More Details: How to set and change the default sort order of a page
https://yzhums.com/13922/
If this does not satisfy you, customization is required.
Hope this helps.
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,267
Sumit Singh 2,098
YUN ZHU 1,766 Super User 2025 Season 2