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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate shares in a line chart

Hi,

I've attached a .qvw which - I hope - describes my problem in detail.

In short - I'm trying to calculate market shares to be shown in a line chart using built-in functions in Qlikview. My problem is that I dont know how to build an expression that calculate the share for diffrent time periods.

Every hint is greatly appreciated!

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Have a look at the straight table that I added as well as the MONTH field that I added in the script.

I had to add the MONTH field, because I use it in the aggr() function.

Regards,

View solution in original post

2 Replies
Not applicable
Author

Hi,

Have a look at the straight table that I added as well as the MONTH field that I added in the script.

I had to add the MONTH field, because I use it in the aggr() function.

Regards,

Not applicable
Author

It works like a charm!

Thanks a lot, wernbrenk!