Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I want to convert the following expression in to set analysis
Sum(If( Aggr(nodistinct Min(Datetime), BusinessID) = Datetime, OpeningBalance))
It won't work for you. Try with jontydkpi or else
stalwar1 mrkachhiaimp marcowedel
May be this:
Sum({<BusinessID = {"=Min(TOTAL Datetime) = Datetime"}>} OpeningBalance)
HI
sunny ,it is not working
Would you be able to provide a sample?
Don't know how to convert this in set analysis but you can use below as well..
=FirstSortedValue(DISTINCT Aggr(SUM(OpeningBalance),BusinessID,Datetime),Datetime)
instead of this
Sum(If( Aggr(nodistinct Min(Datetime), BusinessID) = Datetime, OpeningBalance))
please post some sample data to test with as well as your expected result.
thanks
regards
Marco