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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

Top Solution Authors