Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |