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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Sorting Alphanumeric value by Numeric in querybuilddata source or sys lookup

(0) ShareShare
ReportReport
Posted on by
Hi All, I have a query, I have a lookup showing Period 0,period 1,period 2...Period 11,Period 12, Period 13, in table Fiscal calender Period. I am trying to get lookup In my Report parameter form i.e contract class, to show lookup in order Period 0,1,2,3,4,5..13 But lookup shows in order 0,1,11,12,2,3,13,4... Looks like this how AX itself sorts alphanumeric data. Any function or logic i can use while buidling the query or while performing syslookup can I control to desired result? As a long step, I was thinking of building a view from query and write computed coloumn to sort priority. Any thoughts will be helpful. Thanks in advance Sabarish

*This post is locked for comments

I have the same question (0)
  • Crispin John Augustine Profile Picture
    37,081 on at

    I guess, your idea to use computed column in a View, and using that as a sort field is the best.

    Typecasting and Range together in a Query, sounds almost impossible.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans