Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculating a rate

Hi,

I have had a slight mathematical block...  The attached file has 190 data entries which lists a 'Start Position' field of values I,N, S,

and a 'Outcome' field of 9 possibilities (values A-I)

I'm trying to display a bar chart for the Rate Outcomes of Start Position I but having no luck.  I need to show something like the following:

rate_of_outcomes.PNG

but when I attempt it in Qlikview each Outcome is at 100%

Any help appreciated.

Tom

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think it would be:

Dim: OUTCOME

Expr: count({<START_POSITION={'I'}>}OUTCOME) / count(TOTAL {<START_POSITION={'I'}>}OUTCOME)

-Rob

Edit: Forgot the fieldname!

View solution in original post

4 Replies
Not applicable
Author

can u share your expression

sunny_talwar

How would you calculate Rate Outcome of Start Position in your Excel file?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think it would be:

Dim: OUTCOME

Expr: count({<START_POSITION={'I'}>}OUTCOME) / count(TOTAL {<START_POSITION={'I'}>}OUTCOME)

-Rob

Edit: Forgot the fieldname!

Not applicable
Author

Perfect - exactly what I was looking for!

Many thanks!