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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Error Table return text as YES, if not No

junsarah3000_0-1638039725828.png

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, you first need to change the field type of columnA-E from True/False to Test type, and then try the following formula to get the result.

Column =
IF (
    'Table'[A] = "True"
        || 'Table'[B] = "True"
        || 'Table'[C] = "True"
        || 'Table'[D] = "True"
        || 'Table'[E] = "True",
    "Yes",
    "No"
)

vhenrykmstf_1-1638236047143.png

vhenrykmstf_0-1638236016431.png

If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, you first need to change the field type of columnA-E from True/False to Test type, and then try the following formula to get the result.

Column =
IF (
    'Table'[A] = "True"
        || 'Table'[B] = "True"
        || 'Table'[C] = "True"
        || 'Table'[D] = "True"
        || 'Table'[E] = "True",
    "Yes",
    "No"
)

vhenrykmstf_1-1638236047143.png

vhenrykmstf_0-1638236016431.png

If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

Anonymous
Not applicable

@amitchandak

One or more "True" text from columns A to E should return "Yes" on the new column, otherwise it will return "No".

amitchandak
Super User
Super User

@Anonymous ,

Logic is not very clear

 

a new column =

if([A] =false() ||[B] =false() || [C] =false() || [D] =false() || [E] =false(), "Yes", "No")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.