cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pedersenbr
Frequent Visitor

form item visible by condition

Hi, 

 

I'm new to powerapps and have some issues I need help with.

 

I have a gallery with a display form next to it. I want fields to be visible by conditions from the selected item in the gallery.

 

In my gallery I have Assets like; monitors, laptops, smartphones etc.

In the display form I have info about;  CPU, HDD size, Memory, Screen size, etc. 

 

Example of what I want.

 

When a monitor selected I don't want to see CPU, HDD size, etc. in the display form, only information that is relevant for the selected item.

 

Any help with this will be much appreciated!

2 REPLIES 2
PaulD1
Super User
Super User

Edited - sorry, didn't read question thoroughly

 

I assume all your info fields are in the same list? 

1. Have a datacard for each field and set the visible property of the datacard according to whether it should be shown or not based on the selected asset type,

e.g. for the CPU Datacard's visible property: If(galAsset.Seleted.Type = "Monitor",false,true) 

 

 

Hi, thank you for the reply. 

I now have this formula: If(Gallery5.Selected.'Asset type'.Value = "Monitor",false,true) 

 

Now, how can I add multiple Asset types to this formula to hide the Datacard on Monitor and Accessories

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,579)