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

Get region contribution for stores

Hi, I looking for a solution to get region sales next to respective store.

In the attachment the table marked with green square has showroom name and sum of Net sales. I need to get the region sales for respective stores which would help me understand % contribution to region.

Region is 1 level up in hierarchy which is present in Showroom attributes table marked in red square.

Please can someone help me resolve this.

Thanks

Sujay

1 Solution

Accepted Solutions
Not applicable
Author

You are correct... We dont need the {1}

Final code is aggr(sum( Total <Region> [Sd Net]),[Region],[Showroom])

View solution in original post

4 Replies
Not applicable
Author

Found the answer... aggr(sum({1} Total <Region> [Sd Net]),[Region],[Showroom])

kkkumar82
Specialist III
Specialist III

Hi Sujay,

Do you really require {1} check that once as it won't accept any selections , if it is fine close your ticket by pressing

correct answer in actions so that it may help to some others

agigliotti
MVP
MVP

sum(Net)

/

sum( TOTAL <Region> Net )

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Not applicable
Author

You are correct... We dont need the {1}

Final code is aggr(sum( Total <Region> [Sd Net]),[Region],[Showroom])