25 Jun, 2024
Posted on 25 Jun, 2024 by Shekhar Jain, Posted in Power Apps Dataverse Power Platform Dynamics 365
Formula columns support Power Fx, a low-code language that is very flexible. It uses an Excel-like syntax, making it accessible to users with basic Excel knowledge. Power Fx can handle complex operations and logic, and it can also be used to calculate data.
Let's say we have a requirement where:
1. Go to Power Apps (https://make.powerapps.com).
2. Select the table in which you want to create the formula column.
3. Column --> "+ New Column"
4.After selecting 'New Column,' a panel will appear on the right-hand side. We need to select the 'Formula' datatype.
We will write a formula in the Formula box, and the column will be formatted according to the formula we select.(The format cannot be changed after saving the column.)
6. Save and publish your changes.
7. Once it is published successfully, let's test it
7.a. If we set 1000 in "Credit limit" than it will set 10% in "Credit Charges".
6.b. If we set 15000 in "Credit Limit" field than it will set 20% in "Credit Charges".
The Power Fx formula offers a richer and more user-friendly experience for column calculations in Microsoft Dataverse. It is advancing to the next level by enabling seamless addition of columns with built-in functions.
Comment