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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anh_Nguyen
New Member

Create calculated column based on formula in other column

Hello,

I have a sample table below:

IDFormulaDateValue
A[Value]+31/1/202315
B[Value]*21/1/202316
A[Value]+3  2/1/2023  12

Can I create new calculated column based on formula in Formula column? The result table maybe like sample below

IDFormulaDateValueResult
A[Value]+31/1/20231518
B[Value]*21/1/20231632
A[Value]+3  2/1/2023  1215

Any help would be appreciated

1 ACCEPTED SOLUTION
slorin
Super User
Super User

Hi,

 

new column "Result"

Expression.Evaluate("each "&[Formula])(_)

 

Stéphane

View solution in original post

2 REPLIES 2
slorin
Super User
Super User

Hi,

 

new column "Result"

Expression.Evaluate("each "&[Formula])(_)

 

Stéphane

It worked! Thank you very much for your help.EXCEL_SfJhwSzQfn.png

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.