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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors