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

write max in dimension side

Hi all,

I want to write max function in dimension side without using sum.Administrator

13 Replies
Not applicable
Author

Hi jagan,

when I will try this expression Interval[Posting date] - [calender date], 'D') I will get difference between every calander date. I want Max(calenderDate).

When I will try this : Interval[Posting date] - max[calender date], 'D') then I will get error in formula.

MK_QSL
MVP
MVP

Interval(Max([Calendar Date])-[Posting Date],'D')

Not applicable
Author

NO still it is giving errror in formula.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you attach sample file, so that it is easier to give solution.

Try this

Aggr(Interval([Posting date] - [calender date], 'D'), [Posting date], [calender date])

Regards,

Jagan.