I am currently experimenting with PowerApps and I have one thing I can't seem to understand.
I am editing the browse screen, trying to filter the items. I wanted the items to be filtered by the current user, so I user the formula: Filter(MyData,"Author.FullName" = User().FullName)
I also want to show some columns because currently I don't have any so I am trying to use the formula:
ShowColumns(MyData, "Avarage", "sum")
it seems that I can't get the two formulas to work together. I am trying to use && operator:
Filter(MyData,"Author.FullName" = User().FullName) && ShowColumns(MyData, "Avarage", "sum")
but it just gives me an error.
what can I do to show the columns I want AND use the filter function?
I guess you have created an app based on SharePoint list, then you tried to edit the Browse Screen. There should be Person and Group column in you SharePoint list, and there is only the Title column shown in the app.
If I understand you correctly, may I suggest you add two Text box controls in the gallery? Then set the Text property of the two Text box controls to Average and Sum. The columns you want would be shown.
Please try if this works for you.
thanks for your reply!
unfortunately, I can't seem to implement your suggestion.
I am trying to display some filelds in the browse screen and then filter them. I can't seem to understand how this is done.
here is a screen shot of my data:
I would like to display a "people picker" column named "SE". also, i would like to filter by that column, items should only show if the current user is the user in the field "SE".
this is currently my formula for "items":
SortByColumns(Search(CaseReview, TextSearchBox1.Text, "Avarage","Title","sum"), "Avarage", If(SortDescending1, Descending, Ascending))
Any help would be greatly appriciated!
Do you have a Person/Group column type? Could you show me the column types contained in your list?
In my SharePoint list, I have a Person/Group column type, in the app, all the columns are shown except the “Person/Group” column.
So it seems that Person/Group column would not be shown in the app. To show more columns, you could add more Text box controls, then set its Text property as ThisItem.ColumName.
Hope this article could be a reference for you:
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.