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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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