cancel
Showing results for 
Search instead for 
Did you mean: 

Measure in KPI

KHK
Partner
Partner

Hi,

I have created below measure formula in business view using string to count the number of rows of string.

Requirement: count(table.name = "Yes").

Written formula in Business View:

if(
    table.name = "Yes", 
    count(
        table.name
    ), 
    0
)
Case 1:
If i drag this column in Listing table am getting below values. the formula is counting 0 and 1 records, count of records  is  increasing. I want only condition satisfied records.
 
KHK_0-1687804441577.png

Case2:

 If drag this formula column in KPI , it is showing zero value. Please let me know i want to show no of records count in KPI for above condition.

KHK_1-1687804696324.png

 

3 REPLIES 3

KHK
Partner
Partner

I want to use above count of rows column in another formula column to divide the value.

 

anurag
Employee
Employee

Try this formula:

sum(

if ( table.name = "Yes",  1,  0)
)

KHK
Partner
Partner

Thank you for your Help.