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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
MikeHerb
Contributor III
Contributor III

Share Percentage on Stacked Graph

Hi I am having a problem getting the share percentage off of my stacked graph:

Screen Shot 2021-03-10 at 11.55.39.png

you see the percentage its 100% all the time for all segments. the expression I'm using for this is:

Sum([RevnueUSD_Stay])/Sum( TOTAL <EndOfMnt.YearMonth> [RevnueUSD_Stay])

Labels (1)
1 Solution

Accepted Solutions
MikeHerb
Contributor III
Contributor III
Author

I have solved it! 

it is lacking the auto calendar expression 

 

sum( RevnueUSD_Stay) / sum(TOTAL <[EndOfMnt.autoCalendar.YearMonth]> RevnueUSD_Stay)

View solution in original post

3 Replies
Anil_Babu_Samineni

Please convert into Straight table and see if there is any variation after you have done sorting if you have many records? Also, Please share sample application to test.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MikeHerb
Contributor III
Contributor III
Author

hi @Anil_Babu_Samineni 

Im sorry I'm really new to Qlik Sense how do I create a sample application? 

MikeHerb
Contributor III
Contributor III
Author

I have solved it! 

it is lacking the auto calendar expression 

 

sum( RevnueUSD_Stay) / sum(TOTAL <[EndOfMnt.autoCalendar.YearMonth]> RevnueUSD_Stay)