Hi i have a forms app where i have a If Statement on the visible function of several datacards.
On the start page of the app the users select the vehicle and the service type 250, 500, 1000 or 2000 and that number is displayed on a label on the following screen, so i set the following if statement on the visible part of the datacard as if they select 2000 they should see all the datacards and if they select 500 for example they should only see the 250 and 500 parts, however it is not working,
To show all i would use
If(Value(DCVSMUTop.Text) = 250 || 500 || 1000 || 2000, true,false)
To show just 500 i would use
If(Value(DCVSMUTop.Text) = 250 || 500, true,false)
PS. DCVSMUTop is the name of the label on the top part of the screen
Could someone tell me where im wrong?
Solved! Go to Solution.
Try the following
If(Value(DCVSMUTop.Text) = 250 || Value(DCVSMUTop.Text) = 500 || Value(DCVSMUTop.Text) = 1000 || Value(DCVSMUTop.Text) = 2000, true,false)
If(Value(DCVSMUTop.Text) = 250 || Value(DCVSMUTop.Text) = 500, true,false)
Check out new user group experience and if you are a leader please create your group
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.