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 / easy question changing...
Power Apps
Answered

easy question changing conditional visibility from dropdown Selected.Value to regular input value?

(0) ShareShare
ReportReport
Posted on by 359

Hi. I changed my data field from a choice field to just a number input field. i had a conditional visibility set if the 9 was selected from the dropdown, it would appear. i need to change the code from dropdown to number input.

 

previous visibility code was:

 

If(DataCardValue8.Selected.Value = "9",true,false)

 

is the new code (it doesn't seem to work):

 

If(DataCardValue8= "9",true,false)

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Try this:

    If(DataCardValue8.Text = "9",true,false)

    or you can simplify it to just:

    DataCardValue8.Text = "9"

    (You don't need an if statement if you are just returning 'true' in the 'true' result)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard