Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
mrainey18
Creator
Creator

Set Analysis Exclude one field but Include another

I am trying to find the average sales for one employee for each category and compare that employee to the average sales of all other employees.  BUT I only want the categories associated with the selected employee.  I dont want to have to select all the categories.

This gets me the first half:

Avg(Sales)  // For one employee

Avg({<FullName=,EmployeeID=>}Sales) // For all employees

I just now need to only display the selected employees Categories.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe this if Category is your dimension field and you've selected an employee:

Avg({<FullName=,EmployeeID=, Category = p() >}Sales)

View solution in original post

2 Replies
swuehl
MVP
MVP

Maybe this if Category is your dimension field and you've selected an employee:

Avg({<FullName=,EmployeeID=, Category = p() >}Sales)

mrainey18
Creator
Creator
Author

P() &amp; E() and where do you use them?

I'm referencing this because I've never heard of these before.  Thank you for your quick answer!