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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors