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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table vertical and horizontal summing

Hi there

I have a problem with the calculation in a pivot table.  I need to sum a column (MG Value) vertically, but instead it’s taking into consideration the other dimensions.  In my example here “% of Total MG Value” should sum up to 100% but instead it’s see’s two dimensions and dividing this between the two (49.73% + 50.27% = 100%).  Where both of them should have been 100% on their own.

Im attaching a reduced data model for you.

Capture.PNG.png

11 Replies
tresesco
MVP
MVP

You have PortfolioPeriod in dimension rather than PortfolioYear, in that case, try :

sum([Total Portfolio Value]) / sum(TOTAL  <FundName, PortfolioPeriod >  [Total Portfolio Value])

Not applicable
Author

And yet again, it solves my problem.  Im sorry, that was a rookie mistake.  .

But thanks for you help !!!