Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ym
Contributor II
Contributor II

FirstSortedValue

I have the following formula: 

sum(aggr(FirstSortedValue([Stock_Value],-Date),Number.Product))

The formula gives me per product the value from the last  available date. 

The formula should now also take the Date_ID_number (highest Date_ID_number) into account in addition to the date.

Furthermore only certain years should be able to be taken into account. e.g. per product last stock_value from 2021 .

How can I do this?

Labels (1)
0 Replies