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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nazdac911
Helper II
Helper II

Convert a text value to a numeric vale

Hi all 

I have a column type text that contains numbers and text : I want to apply the follwoing script : 

Nazdac911_0-1674661212446.png

when I apply this I get the follwoing message : 

Nazdac911_1-1674661315286.png

I treid to use convert , but it did not work .. 
the idea that if I instead of using VAR , i build a separate measure for each one , then it will work !!! 

Any suggestions 🙂 
thanks in advance 
regards 

 

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Nazdac911 

try replacing the last line with:

A1&"+"&A2&"+"&A3

By doing that, numbere will only concat beaside each other , but not calcualted .. 
The resulted A1 , A2 and A3 are numeric values exsist in a text table 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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