Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I am using below expression for calculating sale in maximum date.
=FirstSortedValue({<[ERP Amount USD] -= {0}>} [ERP Amount USD],-[Invoice Date])
But it is returning null values for some rows.
Regards,
Agnivesh
Try
FirstSortedValue({<[ERP Amount USD] -= {0}>} [ERP Amount USD],-[Invoice Date] + [ERP Amount USD]/1000000 )
No result !!
cn u share sample qvw?
Hi ,
I am creating a straight table , in which one dimension is present and i have added one expression to find max date using below expression
=Max({<[ERP Amount USD] -= {0}>}[Invoice Date])
Now i want second expression that , on above date sum(ERP Amount USD)
=Concat(DISTINCT
Aggr( If([ERP Amount USD]= Max([ERP Amount USD]), [Invoice Date], [ERP Amount USD])
,', ')
Thanks but it is also not working
why below expression is not working
=sum({<[Invoice Date] = {"$(=max({<[ERP Amount USD]-={0}>}[Invoice Date]))"}>}[ERP Amount USD])
try to recheck wit ur data usng metrics in Textbox one by one
Thanks for all your valuable help :
I got answer from below discussion
Now my problem has been resolved using below expression
=FirstSortedValue( aggr(sum([ERP Amount USD]),[HFM Entity],[Invoice Date]), -aggr(Max({<[ERP Amount USD]-={0}>}[Invoice Date]),[HFM Entity],[Invoice Date]) )