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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors