Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
@Reza Dorrani
Good day I am trying to create a Set(varFormMode,Edit/View/New) on the Edit, View and New button icons, however, when I change the property default mode of the form to the variable that has been created, it does not apply the action, instead, the property states that it expects an enum Value.
Please refer to the below Screenshots:
Your Swift Response will be highly appreciated.
Solved! Go to Solution.
Hi @Syndicate_Admin ,
The formula should be Set(varFormmode,FormMode.Edit) instead of Set(varFormmode,Edit)
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Syndicate_Admin ,
The formula should be Set(varFormmode,FormMode.Edit) instead of Set(varFormmode,Edit)
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |