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: 
Anonymous
Not applicable

Expression if statement

Hello,

Can anybody help or advize me with the next expression?

I need the result from column X of WeekEinde 28-6-2015 to show in the dashboard as month Juny

I do not want to change the calendar, because not all the data is a count like that, mostly it is a sum of the data from the weeks belong Juny..

if(Max(WeekEinde) < JaarMaand, sum(X))

Weekeinde.PNG

Thanks already!

3 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

something isn't clear enough for me in your expression

you compare to fields that contains different set of data

you can try

=FirstSortedValue(aggr(sum(X),WeekEinde),aggr(-WeekEinde,WeekEinde))

Anonymous
Not applicable
Author

Hello Liron,

Your answer works fine!

Thanx very much for the hint.

Greets, Nelly

lironbaram
Partner - Master III
Partner - Master III

hi good to hear

so please mark the answer as correct so future users could benefit from it also