Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
gauravgg
Partner - Creator
Partner - Creator

Convert to set analysis

Hi

I want to convert the following expression in to set analysis

Sum(If( Aggr(nodistinct Min(Datetime), BusinessID) = Datetime, OpeningBalance))

15 Replies
Anil_Babu_Samineni

It won't work for you. Try with jontydkpi or else

stalwar1mrkachhiaimpmarcowedel

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

May be this:

Sum({<BusinessID = {"=Min(TOTAL Datetime) = Datetime"}>} OpeningBalance)

gauravgg
Partner - Creator
Partner - Creator
Author

HI

sunny ,it is not working

sunny_talwar

Would you be able to provide a sample?

MK_QSL
MVP
MVP

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))

MarcoWedel

please post some sample data to test with as well as your expected result.

thanks

regards

Marco