Hi all,
I want to set a default display for a small rectangle. i have a couple of icons that when one selected, data related to the icon is displayed on a small rectangle and i achieved this by using search, not filter.
i tried this: FIRST(TableName) and it didnt work
Solved! Go to Solution.
Hi @Vhutali ,
As mentioned below - it is the Items of your Gallery.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Vhutali ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Vhutali ,
What is the Search code you are using and what exactly to you want to see on the rectangle that is not there now?
Hi Warren
Here is the code: Search(Demonstrations, GalInfoVar,"crb7a_demoname")
I want to see the details of the first icon as default on the rectangle
Thanks @Vhutali ,
I probably did not ask enough questions
So
Is this what you are searching for or is crb7a_demoname a control name?
When you save default of a rectangle, are you referring to a text box?
What exactly is Data related to the icon?
Search(Demonstrations, GalInfoVar,"crb7a_demoname")
demonstrations is an entity name from the data source
GallinforVar is a variable
crba-demo is a name of a control yes.
the rectangle displays the infor from the gallery, the gallery is called gallery1
So when i click a control , the info is filtered into the rectangle depending on what control is selected
now when i load the app the rectangle is blank, i want it to show something atleast. maybe the infor of the first control
@Vhutali ,
Yes, but what is "crb7a_demoname"?,
Are you looking for the contents of Control crb7a_demo? If so, what type of control is it?
Also the "rectangle" you describe - I this a label and what property of this do you have the code in?
You seem to be searching for the value in a control in a Variable. What is the Set code of this Variable?
"crb7a_demoname " is a column name in an entity, that is searchable and i'm using it to find content . so i'm searching the content by using a demoname, which is a primary field.
the rectangle is a shape, not a label, . in it there's a gallery, and this code "Search(Demonstrations, GalInfoVar,"crb7a_demoname")"
is in the ITEMS property of the gallery
Thanks @Vhutali ,
Have you tried
Filter(
Demonstrations,
crb7a_demoname=GalInfoVar
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
273 | |
245 | |
83 | |
37 | |
34 |
User | Count |
---|---|
356 | |
247 | |
128 | |
73 | |
44 |