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
Moniek
Resolver I
Resolver I

Conditional column

Hi,

 

I have got a column with a lot of different values, text and numbers. I want only see the text values en replace the numbers values with "No" or somthing else. How can I do this? I thought to do this with a conditional column, but I don't know how to do exactly. 

 

Thanks!

1 ACCEPTED SOLUTION

Hi @Moniek 

 

You can add a custom column with

if Text.Length(Text.Select([Example], {"0".."9"}))>0 then "NO" else [Example]

vjingzhang_0-1671179792700.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!

View solution in original post

3 REPLIES 3
Mahesh0016
Super User
Super User

please share your data demo_table snap so more understanded your problem.

Moniek_0-1671091811113.png

Thanks for offering your help. I cant upload a pbix , so I make a picture. I want to make to wish column... I have got the index and example column. I hope you understand what I mean.

Hi @Moniek 

 

You can add a custom column with

if Text.Length(Text.Select([Example], {"0".."9"}))>0 then "NO" else [Example]

vjingzhang_0-1671179792700.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!

Helpful resources

Announcements
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.