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: 
Anonymous
Not applicable

Selling Rate

Here is another one...

I have an excel table with 45 items where 28 have the value "sold".

What I try to do is creating a calculation, Selling Rate in %, that calculates

# of Sold items / # of all items.

I want to have this displayed next to my chart.

Can anyone help here?

spijatida

1 Solution

Accepted Solutions
kamielrajaram
Creator III
Creator III

Hi,

Remove the second comma before you number format.

Regards

Kamiel

View solution in original post

6 Replies
reshmakala
Creator III
Creator III

Attached. Let me know if any questions

consenit
Partner - Creator II
Partner - Creator II

Hi there.

Use a text box with an expression like:

=NUM(COUNT( {$<value={'sold'}>} item) / COUNT(item), , '#.##0,0%')

substitute the fields names item and value to match your data.

Kind regards,

Ernesto.

Anonymous
Not applicable
Author

Hmm... I get an error in expression

=NUM(COUNT( {$<Status={'Sold'}>} Status) / COUNT(Status), , '#.##0,0%')

kamielrajaram
Creator III
Creator III

Hi,

Remove the second comma before you number format.

Regards

Kamiel

MarcoWedel

can you provide sample data/app?

regards

Marco

Anonymous
Not applicable
Author

duhhh!! Not my day.. thanks Kamiel!!