Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
pipuindia99
Creator III
Creator III

Expression Issue with Count of values

Please find the attachment

I want the output as count(column (C))='MET'/total count of (Column (C))

i.e., 3/6 = 2 to be shown in a text box.

would appreciate your help

1 Solution

Accepted Solutions
15 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Try below Expression

Count(C)/Count({<C={"MET"}>}C)

sunny_talwar

Shouldn't it be the opposite?

Count({<C={'MET'}>}C)/Count(C)

pipuindia99
Creator III
Creator III
Author

Can anyone give me a sample qvw with the above example

sunny_talwar

Here you go...

Capture.PNG

pipuindia99
Creator III
Creator III
Author

Thanks Sunny

pipuindia99
Creator III
Creator III
Author

One more question on the same

if MET and NOT MET are calc values based on the A and B, how do you get this value

sunny_talwar

Can you share an example to explain what you mean

pipuindia99
Creator III
Creator III
Author

Attached my example...

pipuindia99
Creator III
Creator III
Author

I need the same value to be in a text box