Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
FT24TRGY5
New Member

The True/False expression does not specify a column. Each True/False expressions used as a table fil

Hi, 
Why do I keep getting this error for the below measure:
 
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
    )
4 REPLIES 4
Anonymous
Not applicable

Hi @FT24TRGY5 

 

Have you solved your problem? If not, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HotChilli
Super User
Super User

You might be able to implement the IF section as a calculated column.  Then write a measure using DISTINCTCOUNT and filtering this new column.

I'm just guessing at the structure of your table.

If you want a proper answer, post some sample data (not a picture) and show the desired result

HotChilli
Super User
Super User

"ConditionCount >= 2" - it's this part here. It returns true or false but there's no column involved.

 

What are you trying to do?

Hi,

I'm trying to create a measure that will count how many areas have had 2 or more categories with a value between 0.05 and 0.38

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.