
Partner - Creator
2019-09-27
01:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using FirstSortedValue in a calculated dimension
From what I've read it seems like the FirstSortedValue chart function only works in an expression. What functionality is there or what workaround is available to get the same result in a calculated dimension?
2,511 Views
1 Solution
Accepted Solutions


Partner Ambassador/MVP
2019-10-08
11:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FirstSorted value may be part of a calculated dim, but it would be wrapped in aggr(). for example:
=aggr(FirstSortedValue(Salesrep, OrderDate), Customer)
-Rob
2 Replies
.png)
Former Employee
2019-10-08
11:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Viven, probably need to add a bit more detail on your use case and app in order to get response on this one...
Regards,
Brett
To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
2,460 Views


Partner Ambassador/MVP
2019-10-08
11:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FirstSorted value may be part of a calculated dim, but it would be wrapped in aggr(). for example:
=aggr(FirstSortedValue(Salesrep, OrderDate), Customer)
-Rob
