Hi all,
I have a SP list with 10 items.
For Each item I want to show a specific column as a label in a Power App but I don´t know how to setup the label text property.
I want to do the assigment throug ID column and displayed should be the title column.
Is this even possible?
Solved! Go to Solution.
Hi,
thanks for your reply.
I´ve already found a solution with the Powerapps Lookup function. With this I can assign one specific SharePoint item to a specific label in Powerapps.
Hi @MrYYxx
Put a datatable on the screen and set its Items property to Filter(yourSPlist,ID=0). Remove the columns you don't want, adjust the order of the fields and the width to match your gallery.
@Drrickryp
Thanks for your answer but a datatable will not work for me, I need a label because I need it inside a form.
If I put there your filter expression (Filter(yourSPlist,ID=0) it did not work.
Hi @MrYYxx,
Could you please share a bit more about your scenario, you could draw a picture to express your need.
You need a Label inside your form, what do you mean, you could add controls corresponding to each field, why would you like to insert a Label?
I thought that you want to display all the records in a Gallery and it seems to solve your problem.
1). You could set the Items property of a Gallery as your SP list
2). Sort the Gallery by the ID column, set the Items as below:
Sort(SPList,ID,Ascending)
3). Inset a Label and set the Text property as below:
ThisItem.Field
If the above is not what you want, please provide more details.
Regards,
Qi
Hi,
thanks for your reply.
I´ve already found a solution with the Powerapps Lookup function. With this I can assign one specific SharePoint item to a specific label in Powerapps.
User | Count |
---|---|
167 | |
90 | |
73 | |
66 | |
57 |
User | Count |
---|---|
214 | |
153 | |
97 | |
88 | |
67 |