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

Notifications

Announcements

Community site session details

Community site session details

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard