web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Visibility based on dr...
Power Apps
Answered

Visibility based on dropdown selection using cascade dropdowns from sharepoint list source

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I have a dropdown that receives its values from a sharepoint list, one of the values is Opportunity to Improve

 

I have several boxes that I want to be hidden unless Opportunity to Improve is selected from the above dropdown box. I have set the code on the visibility to the below but i'm getting the red X, can you advise where i'm going wrong please?

 

If(
 'Dropdown-Classification'.Selected.Value = "Opportunity to Improve",
 true,
 false
)

 

Thank you! 

Categories:
I have the same question (0)
  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    If you are getting a red X then you should also be getting an error message. What is the actual error message?

     

    FYI:  You can shorten your formula by just using the example below in Visible property.

    'Dropdown-Classification'.Selected.Value = "Opportunity to Improve"

     

  • Dave-ITMan Profile Picture
    on at

    Hi @Jeff_Thorpe ,

     

    Thanks for advising of the shortening, I will keep that in mind in future! The error message that is coming up is: 

    Incompatible types for comparison. These types can’t be compared: Error, Text.

     

    Many thanks

  • Verified answer
    Dave-ITMan Profile Picture
    on at

    I have managed to work this out, the text at the end needed changing slightly so it should be:

    If(
     'Dropdown-Classification'.Selected.Result = "Opportunity to Improve",
     true,
     false
    )

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard