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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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