As a Power BI user learning to use Power Apps, I am struggling quite hard with the syntax of writing functions.
I am trying to write an IF function using Display Mode to disable a text box based on the user's response.
I have a radio selection with 3 choices, 3rd party, customer, and own company.
The next entry party is name and address. If own company is selected, we do not need this information. Therefore, what is the exact syntax to write this? I would guess it would be this...but it's not working.
If(Responsible Party = "own company"),DisplayMode.Disabled, DisplayMode.Edit)
Clearly this is not right. Help would be appreciated as this transition has been pretty difficult. Thanks!