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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

"Set analysis" without aggregate fonction ?

Hi all !

(One more time, i'm sorry for the bad english ... I'm french and my english teacher were bad -__-')

So, my problem is : I've created a board to see state of any bug.

Exemple :

ID_Bug , State

1, New

2, Affected

3, Corrected

...

But, if a state was 'New', and then 'Affect', i would like to get the last State of this bug (here : 'Affect').

In my database, i had a table BugActif (ID_Bug, State, ID_DATE) which, for each ID_DATE, contains ID_Bug and his state for this date.

In fact, i would like to get the state of all bug for the max(ID_DATE).

Regrettably, my only idea is to do a set analysis like : "{<ID_DATE={"$(=max(ID_DATE)"}>} State" but without an aggregate fonction, this one cannot work...

Thank you for spending time to help me.

3 Replies
Not applicable
Author

Hi,

maybe the attached example is helpful.

Good luck!

Rainer

Not applicable
Author

Thanks a lot for this example !

I just test the expression "aggr(firstsortedvalue(Turnover,-Date),Customer) " and results are good 😃

Thank you !

IAMDV
Master II
Master II

I have the same question sometime back. So its possible to have set analysis without using aggregate functions? I am little confused now...

Cheers - DV