Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
pacifuentes
Contributor II
Contributor II

Count a specific result from 2 columns

Hi, Im new in this

I have an excel in this way:

IDTest1Test2
123Positive 
456Negative 
789 Negative
147Positive 
258Positive 
369Negative 
987 Positive
654 Positive

 

And I want to use a #KPI graphic with the results of only the sum of positive of both columns (test1 and test2)

Example result: 5 positive

In the Edit expression im using this expression and of course only count 1 column but I need both columns

Edit expressionEdit expression

 

 
 
 

 

 

 

Any idea how to resolve this?

Thanks

Labels (1)
2 Solutions

Accepted Solutions
pacifuentes
Contributor II
Contributor II
Author

Thank you, it worked

View solution in original post

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Please like and mark the post as the correct answer.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can try this.

Count({<Test1 = {"Positive"}>+<Test2 = {"Positive"}>}ID)

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
pacifuentes
Contributor II
Contributor II
Author

Thank you, it worked

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Please like and mark the post as the correct answer.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!