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:
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
Hello, did you have any luck regarding solving this issue?
Hi, the only way I could resolve this issue was to create a second field and update it nightly using Power Automate. Here are my notes:
Problem: Calculated fields that reference other calculated fields (or even functions such as Now()) are not sortable in a View
This workaround uses these steps:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
199 | |
97 | |
58 | |
51 | |
42 |
User | Count |
---|---|
261 | |
157 | |
84 | |
79 | |
57 |