【发布时间】:2020-10-27 11:39:23
【问题描述】:
我正在尝试过滤包含...的数据的列表
我的列表:
[
{
id: 1,
title: "item 1"
description: "some description here"
},
{
id: 2,
title: "item 2"
description: "some description here"
},
{
id: 3,
title: "item 3"
}
]
...希望在下拉组件上显示“描述”值。所以这是可行的,但例如项目#3 不包含任何描述键对象,并且下拉列表仅在其自己的列表中显示和空白空间。如何过滤此内容以便在此处仅显示 2 个项目?
我尝试了什么...
> RemoveIf(MyList, description=false )));
> Filter(MyList, description=false )));
> Filter(MyList, Not IsBlank(First(MyList).description));
没有运气,有什么想法吗?
【问题讨论】:
标签: powerapps