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: 
alespooletto
Creator
Creator

Measure that takes a specific value only

Hello.

I have this measure that does a calculation for all employees, and then changes for specific employee when I select. But I want another measure that doesn't change when I select an employee and remains the same.

 

AvG( Aggr({< Weekday = {'Lu', 'Ma', 'Me', 'Gi','Ve'} >} Availability, Date))

 

I tried to put Employee (the field with employee name in) but it still changes.

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

Each part of a nested aggregation may need a set statement to consider the same or an adjusted selection state, like:

avg({set statement} aggr({set statement} count({set statement} Field), Dim))

View solution in original post

3 Replies
igoralcantara
Partner - Specialist
Partner - Specialist

Have you try this?

AvG( Aggr({< Weekday = {'Lu', 'Ma', 'Me', 'Gi','Ve'}, Employee= >} Availability, Date))
Check out my latest posts at datavoyagers.net
alespooletto
Creator
Creator
Author

Thank you, I did try it and it seems it still changes when I select a specific user.

 

marcus_sommer

Each part of a nested aggregation may need a set statement to consider the same or an adjusted selection state, like:

avg({set statement} aggr({set statement} count({set statement} Field), Dim))