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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors