Hide or show field based on another selected field value in Powerapps
-
08-02-2021 - |
Domanda
I have a number field in powerapps (app from a SharePoint list) that I only want to show if the selected value in in Soort-Datacard2
is "Brandstof".
I use this formula for Visible in Powerapps:
If(Soort_DataCard2.Selected.Value="Brandstof";true;false)
This formula results in an invalid argument type. What am I doing wrong?
Soluzione
You are referring to the card named Soort_DataCard2
, that probably has another control inside it you want to refer to.
It is probably named DataCardValueX
with a unique number at the end:
Here, "Branch" is a Choice column.
Once you have found the right control, enter this in the Visible
property of the card you want to show or hide:
You do not need the IF statement, as this returns a boolean (true/false) value by itself.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange