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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.