最近 7 天的 AVG 未返回结果
AVG of the last 7 days not returning results
我有一个表达式可以提供过去 7 天内 TIMETAKEN
的平均值,但它没有返回任何结果。
=AVG({<STARTDATE={"<$(=date(today()-7))"} >}TIMETAKEN)
我可以用这个得到昨天的 AVG,它有效:
=AVG({<STARTDATE={"$(=Date(Today()-1))"}>} TIMETAKEN)
我使用了以下表达式来实现:
=AVG({<STARTDATE=
{"$(=Date(Today()-7))","$(=Date(Today()-6))","$(=Date(Today()-5))",
"$(=Date(Today()-4))","$(=Date(Today()-3))","$(=Date(Today()-2))",
"$(=Date(Today()-1))"}>}TIMETAKEN)
试试这个
count({<Date={"=Date>(today()-7)"}>}[Date])
的额外学分
count({<Date={"=Date<(today())"}*{"=Date>(today()-7)"}>}[Date])
我有一个表达式可以提供过去 7 天内 TIMETAKEN
的平均值,但它没有返回任何结果。
=AVG({<STARTDATE={"<$(=date(today()-7))"} >}TIMETAKEN)
我可以用这个得到昨天的 AVG,它有效:
=AVG({<STARTDATE={"$(=Date(Today()-1))"}>} TIMETAKEN)
我使用了以下表达式来实现:
=AVG({<STARTDATE=
{"$(=Date(Today()-7))","$(=Date(Today()-6))","$(=Date(Today()-5))",
"$(=Date(Today()-4))","$(=Date(Today()-3))","$(=Date(Today()-2))",
"$(=Date(Today()-1))"}>}TIMETAKEN)
试试这个
count({<Date={"=Date>(today()-7)"}>}[Date])
的额外学分
count({<Date={"=Date<(today())"}*{"=Date>(today()-7)"}>}[Date])