Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
srini
Creator
Creator

Dimension>conditional> Help needed!

Hi There,

Very good Day!

I am trying to get the condition Dimension on the straight table using the below condition 

=IF([FM Name]<>[EM Name],if([Contract Type]='Non perm (T&M)',[Employee Name],if([Contract Type]='Perm',[Resource GCB Grade]>='6',[Employee Name])))

 

I need to display the employee names only it meets the above criteria but I am not getting desired correct result.

 

1 Solution

Accepted Solutions
Channa
Specialist III
Specialist III

=if([FM Name]<>[EM Name] and [Contract Type]='Non perm (T&M)',[Employee Name],if([FM Name]<>[EM Name] and [Contract Type]='Perm',[Resource GCB Grade]>='6',[Employee Name]))

 

try this

Channa

View solution in original post

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

Share some sample data and the output you are getting for proper analysis

but from a high level there seems to be some syntax issues. see below in red (replaced , with and)

=IF([FM Name]<>[EM Name],if([Contract Type]='Non perm (T&M)' , [Employee Name],if([Contract Type]='Perm' and [Resource GCB Grade]>='6',[Employee Name])))

srini
Creator
Creator
Author

Hi Dilip, when apply the above mentioned expression it is only showing the result for "PermEmployees". Actual requirement is it has to show all employees in "Non Perm (T&M)"irrespective of grade. and should show the "Perm" with grade greater than 6. This is very sensitive data hence can't be shared :-(. thanks 
Channa
Specialist III
Specialist III

=if([FM Name]<>[EM Name] and [Contract Type]='Non perm (T&M)',[Employee Name],if([FM Name]<>[EM Name] and [Contract Type]='Perm',[Resource GCB Grade]>='6',[Employee Name]))

 

try this

Channa