【问题标题】:How do you add the dynamic date filter to the query filter in PowerAutomate?如何将动态日期筛选器添加到 PowerAutomate 中的查询筛选器?
【发布时间】:2022-01-20 17:00:43
【问题描述】:

我正在尝试添加一个过滤器来回顾 30 天和 180 天,这真的很难,我尝试了所有可能的方法来完成这项工作,但我很困惑,无法弄清楚。谁能告诉我,如何使这项工作?我现在正在网上尝试每一个选项一个星期。这个日期过滤器杀死了我。

我要过滤的内容(createdDateTime)

到目前为止我尝试了什么

FormatDateTime('createdDateTime', 'yyyy-mm-dd') ge formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd') 
AND formatDateTime(addDays(utcNow(), 180),'yyyy-MM-dd')


FormatDateTime(triggerBody()?['createdDateTime'],'yyyy-MM-dd') ge formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd')

上面出现另一个错误“提供的一个或多个字段的类型为'Null',需要不同的类型。”

非常感谢

【问题讨论】:

    标签: arrays powerapps power-automate powerapps-formula


    【解决方案1】:

    试试这样的:

    从日期:

    formatDateTime(triggerBody()?['From'],'yyyy-MM-dd')
    

    迄今为止:

    formatDateTime(triggerBody()?['To'],'yyyy-MM-dd')
    

    【讨论】:

      猜你喜欢
      • 2018-01-14
      • 2011-02-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-11
      • 2015-07-18
      相关资源
      最近更新 更多