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 :
Microsoft Dynamics NAV (Archived)

How to Sort the Description Column alphabetically in ascending order

(0) ShareShare
ReportReport
Posted on by 261

Hi all,

I using the NAV 2013R2.

Now, I want to customize the report id 722 (Phys.Inventory List). I have add 2 options in this report which are Sort By No. and Sort By Description

2134.Capture2.PNG

Kindly refer to the description column, the order of the description is not sorted, now it only sort by item no.(which is default).

38702.Capture.PNG

If I tick the sort By Description, it should sort the description column alphabetically in ascending order(a-z).

How i going to do it?Anything i have to set up in the report layout?


Btw i have try the ascending function, but it does not work.

IsAscending := ItemJnlLine.ASCENDING;

Can anyone guide me on the issue above. 

Many Thanks here.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Suresh Kulla Profile Picture
    50,241 Super User 2025 Season 2 on at
    RE: How to Sort the Description Column alphabetically in ascending order

    Based on your value you select, pass that to dataset and set the sorting on the RDLC side 

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,275 Super User 2025 Season 2 on at
    RE: How to Sort the Description Column alphabetically in ascending order

    In order to sort, you need to have Key related to it.

    So if you want to sort by Description, go to table Item Journal Line and create a new key for Description.

    And use the SETCURRENTKEY(Description) on the report.

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,600 on at
    RE: How to Sort the Description Column alphabetically in ascending order

    You can also use Interactive sorting :

    https://docs.microsoft.com/en-us/sql/reporting-services/report-design/add-interactive-sort-to-a-table-or-matrix-report-builder-and-ssrs?view=sql-server-2017

    scr_5F00_1.png

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans