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 365 | Integration, Dataverse...
Answered

Unable to configure sort order by required fields

(0) ShareShare
ReportReport
Posted on by 171

I have added two fields into a view, and for some reason im unable to sort the records by those fields. Please see screenshot below;

pastedimage1574251602741v1.png

I have added 'Estimated Mobile profit' and 'Total Profit' but when I click on the headers it doesn't sort it neither ascending nor descending. 

I tried to configure the sort order however, those fields don't even come up, please see below;

pastedimage1574251709124v2.png

Is there something I need to enable?

Many thanks in advance. 

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Unable to configure sort order by required fields

    Hello,

    If fields are calculated you can't use it in sorting - docs.microsoft.com/.../calculated-rollup-attributes

    Are they?

  • David Jennaway Profile Picture
    14,065 on at
    RE: Unable to configure sort order by required fields

    Are these fields calculated fields ? If so, there are some cases where you cannot sort on calculated fields:

    • If they reference fields in the parent entity
    • If they reference other calculated fields
    • If they reference logical fields (like the label of an option set)

    See https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/define-calculated-fields for a bit more detail

    You also can't specify a sort order on fields from a parent entity, but it doesn't look like this is the issue here

  • Kamilcmm Profile Picture
    171 on at
    RE: Unable to configure sort order by required fields

    Ah ok yes the 'Total profit' field is a calculated field that is a total of two calculated fields.

    I guess there is no way to bypass this? i.e. make a separate field that copies the number from the 'Total Profit' but as a standard line of text or a whole number so that it can be sorted?

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Unable to configure sort order by required fields

    I believe creation of real field and copying of calculated value into it should resolve your issue.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 109

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans