Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Graph seems to be locked to 1 value

Dear all,

I am working with the attached QlikView file. What I try to accomplish i creating a dynamic analysis tool. The graph should show the sum of sales, orders and sum of sales / sum of orders depending on the parameters you select.

When I select something it however only values going up to 1... Any thoughts on what goes wrong with my script?

1 Solution

Accepted Solutions
jpenuliar
Partner - Specialist III
Partner - Specialist III

Hi Marc,

Here's what the figures look like on a straight table object using the expressions

1. =Alt(WildMatch(GetFieldSelections(%ExpressionName, '|'), '*Avg. Sales*'),0)

2. =Sum(Sales)/Sum(Orders)

View solution in original post

7 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

Hi Marc,

Are you trying to achieve what Lee Mathews demoed here :

QlikView How To (or Tips & Tricks) Application

Regards,

Jonathan Penuliar

Not applicable
Author

Jes but as this is way more advanced that what I tried to do a simple answer to my question would be better for my understanding.

jpenuliar
Partner - Specialist III
Partner - Specialist III

have a look at attached file.

Regards,

JP

Not applicable
Author

Naamloos.png

I still have the same issue this is what I get...

jpenuliar
Partner - Specialist III
Partner - Specialist III

I noticed from your attachment that your expression does not return summed values, it returns 1 or 0.

if you wanted to return total sales your expression should be Sum(Sales)

Not applicable
Author

Hi Jonathan,

I do not completely understand what you mean... Could you elaborate with an example?

jpenuliar
Partner - Specialist III
Partner - Specialist III

Hi Marc,

Here's what the figures look like on a straight table object using the expressions

1. =Alt(WildMatch(GetFieldSelections(%ExpressionName, '|'), '*Avg. Sales*'),0)

2. =Sum(Sales)/Sum(Orders)