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 / 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

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 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

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard