Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
LOAD * INLINE [
Year, cost
2010, 1000
2013, 2000
2014, 9000
2016, 6000
2018, 5000
];
i want to add missing years and
I want output like this in text object
2014=9000
Try this
=FirstSortedValue(Year, -Aggr(Sum(cost), Year)) & '=' & Max(Aggr(Sum(cost), Year))
Or this if you only have a single cost for each year
=FirstSortedValue(Year, -cost) & '=' & Max(cost)
Try this
=FirstSortedValue(Year, -Aggr(Sum(cost), Year)) & '=' & Max(Aggr(Sum(cost), Year))
Or this if you only have a single cost for each year
=FirstSortedValue(Year, -cost) & '=' & Max(cost)