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

Aggregation Problem in Expression

Hey all,

I am stuck at a problem where we have a following expression in a straight table. Now i want to use this expression in another expression but grouped by a dimension named subdivsion. Help us out in this matter:

expression :   (WareHouseExpense1_Sender*sum(Conversion*[tr_Qty Sold]))/sum(total<WHS_Sender_Key>Conversion*[tr_Qty Sold]))

2 Replies
sunny_talwar

Would you be able to share few lines of data?

Not applicable
Author

Capture.PNG

Hope this data helps !! Expression i wrote here for warehouse is same as i mentioned in question. Now i want this expression to be grouped by subdivision via total qualifier or aggr if there's a way to do it. When i am using aggr outside of whole expression it is giving null values. Any suggestions would be appreciated.