【发布时间】:2021-01-18 18:55:32
【问题描述】:
我使用了一些在 MIKAEL SVENSON 博客中找到的代码:https://www.techmikael.com/2019/01/a-no-nonsense-solution-to-implement.html。 下面是示例代码:
ForAll(
Filter(
Cities, // SharePoint list with all cities
Country.Id = CountrySelector.Selected.Id // Pick cities where country matches the selected one
)
,
{
Value: Title, // Create a new item with Value/Id, which will save correct
Id: ID // It's important to have Value as the first field!
}
)
如何添加其他条件?
这是我的示例:
ForAll(
Filter(
'Bâtiments/Zones',
Site.Value = SiteSelection.Selected.Value
)
,
{
Value: Title,
Id: ID
}
)
这是我想做的:
ForAll(
Filter(
'Bâtiments/Zones',
Site.Value = SiteSelection.Selected.Value && Title = ZoneSelection.Selected.Value
)
,
{
Value: Title,
Id: ID
} )
我尝试使用 & AND ||没有成功。
感谢您的帮助
【问题讨论】:
标签: powerapps