Microsoft Powerapps,根据列数据过滤掉
Microsoft Powerapps, Filter out based on column data
我有一个 Powerapp 从 SQL 数据库中提取数据。浏览器图库中的函数是 return 所有条目:
SortByColumns(Search([@'[dbo].[orders]'], TextSearchBox1.Text, "name_last","contact_email","contact_sms","name_first"), "check_in", If(SortDescending1, Descending, Ascending))
我需要根据以下内容过滤输入/输出条目:
- check_in 不为 Null AND
- is_complete = 0
如何使用上面的代码完成此操作?
感谢您回答 n00b 问题:)
就像您在表达式中组合 Search and SortByColumns in your example, you can also combine other functions, like Filter,如下例所示:
SortByColumns(
Search(
Filter(
[@'[dbo].[orders]'],
!IsBlank(check_in),
is_complete = 0),
TextSearchBox1.Text,
"name_last",
"contact_email",
"contact_sms",
"name_first"),
"check_in",
If(SortDescending1, Descending, Ascending)))
我有一个 Powerapp 从 SQL 数据库中提取数据。浏览器图库中的函数是 return 所有条目:
SortByColumns(Search([@'[dbo].[orders]'], TextSearchBox1.Text, "name_last","contact_email","contact_sms","name_first"), "check_in", If(SortDescending1, Descending, Ascending))
我需要根据以下内容过滤输入/输出条目:
- check_in 不为 Null AND
- is_complete = 0
如何使用上面的代码完成此操作?
感谢您回答 n00b 问题:)
就像您在表达式中组合 Search and SortByColumns in your example, you can also combine other functions, like Filter,如下例所示:
SortByColumns(
Search(
Filter(
[@'[dbo].[orders]'],
!IsBlank(check_in),
is_complete = 0),
TextSearchBox1.Text,
"name_last",
"contact_email",
"contact_sms",
"name_first"),
"check_in",
If(SortDescending1, Descending, Ascending)))