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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors