Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi folks,
I have a very basic measure with firs sorted function,
sum(AGGR(
IF(FirstSortedValue(DISTINCT LastResultOutcome, -TIMESTAMP(AnalyticsUpdatedDate)) = 'Failed', 1,0), Title))It's working good but showing value not on the needed row so if you see instead of 0 should be 1.
Does it naturally for FirstSortedvalue or it's possible to change somehow?
Thanks
@Micki Try this
If(FirstSortedValue(TOTAL <T1.TITLE> T2.OUTCOME, -T2.HISTORY) = 'Passed' and T2.HISTORY = Max(TOTAL <T1.TITLE> T2.HISTORY), 1,0)
@Micki what all dimensions do you have in the chart? The row above should be 0, and the highlighted row should be 1?
@Micki Try this
If(FirstSortedValue(TOTAL <T1.TITLE> T2.OUTCOME, -T2.HISTORY) = 'Passed' and T2.HISTORY = Max(TOTAL <T1.TITLE> T2.HISTORY), 1,0)
thank you @sunny_talwar , based on your answer i edit a little bit measure and now it's working