在 Power Apps 中按 SharePoint 查找列值搜索人员

问题描述 投票:0回答:1

我有一个 SharePoint 列表,它有一个名为“技能”的查找列,可以保存多个值和一个存储 Microsoft 365 用户的人员列。

此 SharePoint 列表已连接到画布 Power Apps。我需要实现一个功能,可以通过搜索技能来过滤人员。

如何实施?

这是我的 SharePoint 列表的预览:

这是我的画布 Power Apps 的预览:

这是当前按人名搜索的搜索公式。

Filter(
    Skills,
    Or(
        StartsWith(
            Employee.DisplayName,
            SearchInput1.Text
        )
    )
)
sharepoint sharepoint-online powerapps powerapps-canvas powerapps-formula
1个回答
1
投票
Filter(
    Skills,
    Or(
        StartsWith(
            Employee.DisplayName,
            SearchInput1.Text
        ),
       CountRows(
        Filter(Skill, StartsWith(Value, SearchInput1.Text) )
       ) > 0
    )
)
© www.soinside.com 2019 - 2024. All rights reserved.