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 / Visible Function help
Power Apps
Answered

Visible Function help

(0) ShareShare
ReportReport
Posted on by 205

Hi there 

 

I have an app where parts are placed damaged from tools. 

 

I have set up the lines as shown in picture. 

 

I would like to set each item to be visible based on what number is shown in the drop down menu highlighted yellow. 

 

the menu shows '1' only line 1 available. menu shows '3' then line 1,2 & 3 is available. 

 

Current code: 

If(DataCardValue344.Selected.Value = "1" ,true)

This works to hide line and only show it when value selected = 1

 

How do I make this work to show lines 1,2,3 when value selected = 3 ? 

 

example I want something like this.... 

If(DataCardValue344.Selected.Value = "1" Or "2" Or "3",true)

 

Thanks in advance

 

CH

table.PNG
Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Channah 

    You might want to consider do a little compare on the value.

     

    So, for items that should be visible for 1, set your visible property to:

       Value(DataCardValue344.Selected.Value) > 0

    And for items that should be visible for 2, set it to:

       Value(DataCardValue344.Selected.Value) > 1

    Etc...

    That should give you what you are looking for.

     

    I hope this is helpful for you.

  • Channah Profile Picture
    205 on at

    Brilliant!

     

    Thanks for your help!!

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard