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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DylanBanINT
Helper I
Helper I

Populate a column if another column contains information

Hi, basically all I need is for a new column to check if an existing column contains either text or number and it if does it says Yes and if it doesn't it says no. 

 

Tried to google this but cannot get anything that matches what I need.

 

Example below:

 

InformationAnswer
 No
FYes
2Yes
 No
YYes
AYes
4Yes
 No
GYes
2 ACCEPTED SOLUTIONS
Syk
Super User
Super User

In the power query editor you can add a conditional column.

Syk_0-1661260090350.png

 

Syk_1-1661260113701.png

 

View solution in original post

PVO3
Impactful Individual
Impactful Individual

5 REPLIES 5
Syk
Super User
Super User

In the power query editor you can add a conditional column.

Syk_0-1661260090350.png

 

Syk_1-1661260113701.png

 

Hi, unfortunately I am getting an error saying I must enter 'a number value' into the Value box and will not let me click ok

PVO3
Impactful Individual
Impactful Individual

type null

Fantastic, thank you!

PVO3
Impactful Individual
Impactful Individual

If you want a DAX solution (calculated column):

IF(ISBLANK('Table'[Information]), "No", "Yes")

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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