The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have a sample table below:
ID | Formula | Date | Value |
A | [Value]+3 | 1/1/2023 | 15 |
B | [Value]*2 | 1/1/2023 | 16 |
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
ID | Formula | Date | Value | Result |
A | [Value]+3 | 1/1/2023 | 15 | 18 |
B | [Value]*2 | 1/1/2023 | 16 | 32 |
A | [Value]+3 | 2/1/2023 | 12 | 15 |
Any help would be appreciated
Solved! Go to Solution.
Hi,
new column "Result"
Expression.Evaluate("each "&[Formula])(_)
Stéphane
Hi,
new column "Result"
Expression.Evaluate("each "&[Formula])(_)
Stéphane
It worked! Thank you very much for your help.