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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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