我正在尝试将下面的公式转换为Power语言
=IF(AC4>TIMEVALUE("20:00:00");"After the deadline";"In the term")我尝试了下面的公式,但不起作用,它返回错误消息“如果名称‘如果’没有被识别。请确保它拼写正确”:
=IF(
TIMEVALUE([#"(Transf1-Coleta)"]) > TIMEVALUE("20:00:00"),
"After the deadline",
"In the term"
)列#"(Transf1-Coleta)“是"AC”列的相同值,"AD“是要获取的值。

发布于 2021-06-29 03:52:50
如果您使用的是度量值,请尝试下面的代码-
=IF(
TIMEVALUE(min(table_name[column_name])) > TIMEVALUE("20:00:00"),
"After the deadline",
"In the term"
)发布于 2021-06-29 12:31:44
单位:M
= Table.AddColumn(#PreviousStep, "Custom", each if DateTime.Time([Transf1-Coleta])>Time.FromText("20:00:00") then "After the Deadline" else"In the term")https://stackoverflow.com/questions/68169295
复制相似问题