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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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