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: 
Balujyothi4
Contributor
Contributor

QlikView

Hi 

I have a column name "active" and fields are "True" and "False".  Now I want create a KPI as "No of Active projects". 

There are 75 - True and False - 25.

So I need out put in KPI as 75.

Please can any help me out how can we write expression.

Labels (2)
1 Solution

Accepted Solutions
Vegar
MVP
MVP


@Balujyothi4 wrote:

Hi 

I have a column name "active" and fields are "True" and "False".  Now I want create a KPI as "No of Active projects". 

There are 75 - True and False - 25.

So I need out put in KPI as 75.

Please can any help me out how can we write expression.



Assuming that you can count no of project by the expression  Count(ProjectID), make adjustments to my suggestion to fit your data.

Num(Count({<Active={'True'}>}ProjectID)/count(ProjectID),'0%')

View solution in original post

2 Replies
Vegar
MVP
MVP


@Balujyothi4 wrote:

Hi 

I have a column name "active" and fields are "True" and "False".  Now I want create a KPI as "No of Active projects". 

There are 75 - True and False - 25.

So I need out put in KPI as 75.

Please can any help me out how can we write expression.



Assuming that you can count no of project by the expression  Count(ProjectID), make adjustments to my suggestion to fit your data.

Num(Count({<Active={'True'}>}ProjectID)/count(ProjectID),'0%')

Balujyothi4
Contributor
Contributor
Author

Think you so much vegar, its worked