Forum Discussion

FT24TRGY5's avatar
FT24TRGY5
New Member
2 years ago
Solved

A function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filte

I am trying to create a measure that will count how many areas have had at least 2/5 categories with a value between 0.05 and 0.38 but keep getting the error message: 

A function 'PLACEHOLDER' has been used in a True/False expression that is used as a table filter expression. This is not allowed.
 
Why am i getting this, I haven't used PLACEHOLDER anywhere
 

KPI599 = 

VAR ConditionCount =

    (

        IF(BBAS[SAFE] >= 0.05 && BBAS[SAFE] <= 0.38, 1, 0) +

        IF(BBAS[CARING] >= 0.05 && BBAS[CARING] <= 0.38, 1, 0) +

        IF(BBAS[RESPONSIVE] >= 0.05 && BBAS[RESPONSIVE] <= 0.38, 1, 0) +

        IF(BBAS[WELLED] >= 0.05 && BBAS[WELLED] <= 0.38, 1, 0) +

        IF(BBAS[EFFECTIVE] >= 0.05 && BBAS[EFFECTIVE] <= 0.38, 1, 0)

    )

RETURN

    CALCULATE(

        DISTINCTCOUNT(BBAS[Area]),

        ConditionCount >= 2

    )

 

2 Replies