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: 
mahitham
Creator II
Creator II

If logic help

Hi Experts,

Can any one please help me on below requirement.

I have a table with all the dimensions

In Employee Name dimension I have to show only Max(Year) employees. I have tried like below

=if(Year =Max(Year), [Employee Name]) but getting invalid dimension in the table.

Please help me on this.

Thanks in advance.

1 Solution

Accepted Solutions
ChennaiahNallani
Creator III
Creator III

Variable

MaxYear = max(Year)

Exp..

=if(Year =$(MaxYear), [Employee Name])

View solution in original post

1 Reply
ChennaiahNallani
Creator III
Creator III

Variable

MaxYear = max(Year)

Exp..

=if(Year =$(MaxYear), [Employee Name])