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

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

Reply
Anonymous
Not applicable

Copy numerical values to new column from column that contains mixed numbers and text

Hi,

Started working with power bi not a long time ago, and I'm struggling with the following calculation:

I have a column that contains mixed numbers and text – all values in the column are text.

For example:

col

4

4

3

CDB

2

1

ABC

 

I need to copy the "numerical" values to a new column as numbers.

New_col

4

4

3

-

2

1

-

Unfortunatly In this model I can't use power query. 

Can anyone advise on how to resolve this?
 
Thank you

 

1 ACCEPTED SOLUTION
rbriga
Impactful Individual
Impactful Individual

Refreshing didn't solve it?

Also, for testing, try doing the same outside of Tabular Editor.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

View solution in original post

4 REPLIES 4
rbriga
Impactful Individual
Impactful Individual

If you have to do this in DAX (calculated column),

Add the column

 =IFERROR(VALUE([A]),BLANK())

Where [A] is the original mixed column.

Power BI Boards.JPG

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!
Anonymous
Not applicable

Thank you for you response,
I wrote the query in Tabular editor (calculated column)- > 
IFERROR ( VALUE ( Fact_FormAnswerRows[Selected Answers] ), BLANK () )
And when I checked the results in PB the following error was showcased:

KatyaK_0-1626693539633.png

I'm not sure if there is something not current in my query or is it something else?




rbriga
Impactful Individual
Impactful Individual

Refreshing didn't solve it?

Also, for testing, try doing the same outside of Tabular Editor.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!
Anonymous
Not applicable

Thanks!
In the end it worked 🙂

Helpful resources

Announcements
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 Kudoed Authors