web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Filter on highest value in a list.

(0) ShareShare
ReportReport
Posted on by 40

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.

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,391 on at
    RE: Filter on highest value in a list.

    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

  • TomRoskam Profile Picture
    40 on at
    RE: Filter on highest value in a list.

    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.

  • Suggested answer
    DAnny3211 Profile Picture
    11,391 on at
    RE: Filter on highest value in a list.

    hi

    yes exactly

    check my answer if it helped you, thanks

    DAniele

  • Suggested answer
    Manan_Shah Profile Picture
    1,459 on at
    RE: Filter on highest value in a list.

    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. 

    pastedimage1670312537442v1.png

    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. 

    pastedimage1670312646623v2.png


    Hope this will help.

    Many Thanks,
    Manan

  • Suggested answer
    YUN ZHU Profile Picture
    93,952 Super User 2025 Season 2 on at
    RE: Filter on highest value in a list.

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,267

#2
Sumit Singh Profile Picture

Sumit Singh 2,098

#3
YUN ZHU Profile Picture

YUN ZHU 1,766 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans