Ok so this works Visible=(DataCardValue5.Value=true)||(Value(DataCardValue6.Text) >20)
I am trying to put in a label that is the opposite so when these are not true the label shows instead.
If I have the DataCardValue5.Value=true it works fine. The issue comes when I enter the second section.
This is what I am trying to use but is not working.
Solved! Go to Solution.
If the number is more than 20 then other labels will show giving more direction. If it is 20 or under then I want other labels to show.
DataCardValue5.Value=false || (Value(DataCardValue6.Text)<=20 && !IsBlank(DataCardValue6.Text))
Does this solve your issue ?
if(DataCardValue5.Value=false || (Value(DataCardValue6.Text)<=20,true,false)
Put above coding in your visible property (what do you need to show visible)
Above coding / condition is true, Visible true, false means visible false.
if you need to change 20 or less visible false means use below code
if(DataCardValue5.Value=false || (Value(DataCardValue6.Text)<=20,false,true)
I hope, your problem will be resolved.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways or you liked the post and want to show some appreciation, please give it a Thumbs Up.
This is making me crazy. I can only seem to do one or the other, not both at the same time, and using the if statement says there is an error and suggests that I revise it.
Just to stick my nose in, There is no need for an If() statement in a Visible property.
Value(DataCardValue6.Text<=20) and DataCardValue5.Value each reduce to true or false
so if you want to show your label simply
!DataCardValue5.Value || Value(DataCardValue6.Text) <=20 should be sufficient
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.