
Have a simple gallery that displays all records from a sharepoint list called Task
I have added an additional field (named Taskname) to the gallery that looks up a matching Name from another sharepoint list called Task_ID
LookUp('Task_ID ', ID = ThisItem.ID, Name)
I only want to display those records that have a Name and cannot work out how to filter in the gallery
tried this but doesnt work:
Filter(Task, Not(IsBlank(Taskname)))
Any help appreciated
Hi @cheezy ,
The structure would be like this
Filter(
AddColumns(
Task,
"TaskName",
LookUp(
'Task_ID ' As aTask,
aTask.ID = ThisItem.ID
).Name
),
!IsBlank(TaskName)
)
but I am wondering whether the matching field in 'Task ID ' is something other than ID (I doubt matching records would have the same ID ).
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.
MVP (Business Applications) Visit my blog Practical Power Apps