Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to get the Max Date by ISIN and YearMonth by using an Expression.
For this requirement I want to use the Firstsortedvalue. But I can not make it work!
Using a calculated Dimension works fine with aggr functionality. Somebody can help?
Expression with FirstSortedValue:
Caluclated Dimension:
Regards,
Patric
Try adding a NODISTINCT here
Aggr(NODISTINCT Max(DateTo), ISIN, DateMonthEnd)
Why don't you use this
Max(TOTAL <ISIN> EVAL_DATE_FROM)
Yep! right other way to achieve it! Thanks!
Hi Sunny,
I tried your implementation and the output is not 100% what I expect.
Can you give a look to the attached .qvw App.
The expected output should be based on the selection and should be calculated dynamically.
As shown in the screenshot (14.01 is missing for all other January records).
The output should be grouped by ISIN and DateTo and should reflect always the last available Date for the Month grouped by ISIN and DateTo.
Regards,
Patric
Try adding a NODISTINCT here
Aggr(NODISTINCT Max(DateTo), ISIN, DateMonthEnd)
Great!