Notifications
Announcements
Hello Community,
How to hide a text label, and only show it if the status is cancelled?
Thank you!
@JonathanL82 Set the formula in the visible attribute of the text label
status = cancelled
Hi @JonathanL82 ,
Where do you get cancelled status?
Assuming that Var stands for status, you can set formula on Visible of text label to check if it equals "cancelled":
If(Var="cancelled",false,true)
Best regards,
Rimmon
@v-mengmli-msft status is a choice column from sharepoint and cancelled is one of the choices.
Does text label in a gallery?
If Items of gallery is SP list and Status column is single selection, please try this:
Visible of Label:
If(ThisItem.Status.Value="cancelled",false,true)
@v-mengmli-msft thank you! thisitem.status.value = "Cancelled" this one worked!
Glad to hear from you.
If my answer helps you, please accept it as a solution.😀
Thanks.
@v-mengmli-msft noted. i just did 🙂
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268