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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Pellegrino
Frequent Visitor

convert mathematical equations stored as text into the mathematical answer within m

Pellegrino_0-1636175294843.png

 I have a simple equation stored as text. Is there a straight forward manner in which I can convert this to the mathematical answer, instead of splitting the colums by the + delimeter, storing the split mumers as a numer and then creating a new colun to get what I want?

 

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Expression.Evaluate  with the column should do it

View solution in original post

3 REPLIES 3
Sorina
Frequent Visitor

I have the same problem - I need to evaluate a math expression like: 

((1038*1000000)/27011675)
((32*1000000)/7152834)
((1038*1000000)/27011675)
((32*1000000)/7152834)
HotChilli
Super User
Super User

Expression.Evaluate  with the column should do it

soz hotchilli, but as a newbie to m i still can't get my head around it. Here is the query i have. It's gone through a number of steps to get to the below. How do I use Expression.Evaluate against the whole query, which for the sake of simplicity is called #"Nearly There".  I want to Evaluate the entire column Entry Fee. Thanks in advance

 

 

Pellegrino_0-1638639350032.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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