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: 
Anonymous
Not applicable

Issue in expression with aggr

Hello Friends

I am using below expression in a Pivot chart , which divides Sale Amount by Count of staff to get Sale per staff.

However the entire total amount displays for each of the staff. Am I doing some mistake?

Kindly help.

[Sum(SALE_AMT)]   / aggr(count(Staff),BU,DESTINATION)

Thanks & Regards

Chintan Gala

3 Replies
Anonymous
Not applicable
Author

BU, DESTINATION and Staff are the dimensions...used in the   pivot chart..

sunny_talwar

Would you be able to share an image of what you are seeing and explain what you would want to see?

Anonymous
Not applicable
Author

Hello Sunny

I have attached the screenshot.

Eg: for Europe there are 11 staff..

I need last column as  second last column / 11.

ie: 0.85/11 = 0.07.....

Dimensons are , Type (not visible in screenshot) , Destination , Staff Name.

Remaining are measures.