In a report, how does one get dataset-created fields to display results in the order they were entered into the dataset field filter (or based on the value of the original property) instead of alphabetically by filter result?
Use case:
Dataset field groups values of 0-7 days under "1 week", then 8-14 days displays "2 weeks", 9-21 days displays "3 weeks", 22-28 days as "4 weeks", 29-61 as "2 months", 62-91 as 3 months", etc.
When applying this field to the xaxis, it sorts the result alphabetically instead of through increasing size of the grouped value or matching the order the filters were entered:
I am not sure about which type of property you created for time period, But if you choose dropdown for summarize days it will give correct result according to report in ascending order. Please see attachment i have created dropdown field named "days in week" to show time period and it is showing correct data in order.
Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member. Thanks!
Thank you for trying to help. Below is the formula as written v. a screenshot of how it appears when used as the x-axis. Would like the result to populate along the x-axis as written.
I am not sure about which type of property you created for time period, But if you choose dropdown for summarize days it will give correct result according to report in ascending order. Please see attachment i have created dropdown field named "days in week" to show time period and it is showing correct data in order.
Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member. Thanks!
Update: I figured out what this meant. I created a new dropdown property that listed the results in the order I'd like them to appear. Then I created a workflow that ran the original formula via branches.
If the timedifference calcualtion property is <1 day, branch 1, set dropdown property to 0 days.
If calc prop is < 8 days, branch 2, set dropdown to 1 week. etc.
Thank you, @DGarg! Very creative to look outside of the formula and reporting tool and make the property + workflows to force the correct display.