Skip to main content

Notifications

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. 

  • 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.

  • 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?

  • 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

  • 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?

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 80 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 74

Overall leaderboard

Product updates

Dynamics 365 release plans