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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Separating a Column that has Rows of Numbers and Rows of Strings

I have a data column that has a few rows with number values and a few rows with string values. Is it possible to seperate this column into two columns, one with numbers and one with strings. Here is a screenshot of my sample data.

 

WillMurphy_0-1680622290995.png

 

 

I also want to keep the row in the same spot, so it is associated with the correct date, names, locations, and tasks.

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi, 

 

if you create a couple of calculated columns in report view you can use:

 

Text =
SWITCH (
TRUE (),
ISERROR ( VALUE ( 'Table'[Column1] ) ), 'Table'[Column1],
blank()
)
 
Numeric =
SWITCH (
TRUE (),
ISERROR ( VALUE ( 'Table'[Column1] ) ), blank(),
'Table'[Column1]
)
 
DOLEARY85_0-1680626871580.png

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you!

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi, 

 

if you create a couple of calculated columns in report view you can use:

 

Text =
SWITCH (
TRUE (),
ISERROR ( VALUE ( 'Table'[Column1] ) ), 'Table'[Column1],
blank()
)
 
Numeric =
SWITCH (
TRUE (),
ISERROR ( VALUE ( 'Table'[Column1] ) ), blank(),
'Table'[Column1]
)
 
DOLEARY85_0-1680626871580.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors