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: 
lucasx15
Contributor III
Contributor III

GetFieldSelection Calculating Averaging

I would like to know if there is the feasibility ofhave the filter object I created on the side called Box calculate the average for every two items I select.
Currently this line graph when selecting two filters next to it plots both filters. I did this using the conditional:

=if(WildMatch('"' & Replace(GetFieldSelections(BOX_FILTER), ', ', '","') & '"' ,'*Room Center*'),1,0)

 

Captura de tela 2023-05-22 162610.jpg

 

Labels (1)
1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

Try this

=RangeSum(Aggr(Avg(Measure), Floor(RowNo() / 2)))

 

View solution in original post

2 Replies
Chanty4u
MVP
MVP

Try this

=RangeSum(Aggr(Avg(Measure), Floor(RowNo() / 2)))

 

lucasx15
Contributor III
Contributor III
Author

Thank You!!!😀