Skip to main content

Notifications

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.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,788 Super User 2025 Season 1 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

  • Suggested answer
    Manan_Shah Profile Picture
    Manan_Shah 1,457 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
    DAnny3211 Profile Picture
    DAnny3211 9,274 Super User 2024 Season 1 on at
    RE: Filter on highest value in a list.

    hi

    yes exactly

    check my answer if it helped you, thanks

    DAniele

  • TomRoskam Profile Picture
    TomRoskam 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
    DAnny3211 9,274 Super User 2024 Season 1 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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans