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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
MK_QSL
MVP
MVP

GetCurrentField

I have cyclic group named Selection with below dimensions...

CustomerName

Item

Brand

Want to use this cyclic group in bar chart for with there is a reference line showing average sales.

What is wrong in below? It's simply not working !

Avg(Aggr(SUM(InvoiceValue),GetCurrentField(Selection)))

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP
Author

Sorted out...

Avg(Aggr(SUM(InvoiceValue),$(=GetCurrentField(Selection))))

View solution in original post

1 Reply
MK_QSL
MVP
MVP
Author

Sorted out...

Avg(Aggr(SUM(InvoiceValue),$(=GetCurrentField(Selection))))