cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DaveStorey
Regular Visitor

Can't sort on calculated "Elapsed Days" column in a View

I have a calculated column to show the elapsed days between two dates, but when I place this field on a View, the sorting options are disabled. 

I see in the documentation that this is a known limitation in the following conditions:

  • Sorting is disabled on:
    • A calculated column that contains a column of a parent row.
    • A calculated column that contains a logical column (for example, address column)
    • A calculated column that contains another calculated column.

My situation doesn't seem to satisfy any of these 3 conditions, as I am only comparing 2 date fields on the main entity.  I have added an attachment showing the details of my calculated field.

 

As a work-around, I created a separate non-calculated field, and added a business rule to copy the data from the calculated field to the non-calculated field, but of course this doesn't keep the non-calculated field up-to-date because the business rule only runs when the record is opened in the form, therefore the values get out-of-sync very often.

 

Questions:

- Is there a way to have a calculated field sortable on a View?

- Is there a different reliable method of showing an "Elapsed Days" value in a View, and that is a sortable column?

 

Thank you

 

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,766)