Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
IVAN-FELIPE
Employee
Employee

Aggr by field event with one single value applyed

Dear colleagues

I'm trying to apply a set analysis formula without success:

 - I need to apply the the property "one single selected value" to the field "Month"

- After that I need to make an expression like this :

  sum(Aggr(sum({<Month>}IssuesTime)/Sum({<Month>}Power),Month))

So I need to all the values by month and then sum each result, even when I have a single month selected.

I cannot use a floating calendar.

It seems to be simple but it does not work. The aggr by month ignore the rest of the months.

Any ideas?

Thanks a lot!

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try adding your set analysis to the outer Aggregation also

Sum({<Month>}Aggr(Sum({<Month>}IssuesTime)/Sum({<Month>}Power), Month))

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

Try adding your set analysis to the outer Aggregation also

Sum({<Month>}Aggr(Sum({<Month>}IssuesTime)/Sum({<Month>}Power), Month))
IVAN-FELIPE
Employee
Employee
Author

This works, just needed to ignore the month selections in the sum previous to the aggr.

 

Thanks!