Forum Discussion
Anonymous
6 years agoNot applicable
Please correct me IF condition
Hello Members, Please let me know is my below IF condition is correct / wrong. I am finding Totalminute between Issue Detection Time & Incident Start which is generated by name XYZ if [Triggered...
- 6 years ago
Anonymous , Try soething like this
if [Triggered XYZ] = 1 then if [#" Detection Time (UTC)"] < [#"Incident Start (UTC)"] then Duration.TotalMinutes([#"Detection Time (UTC)"] - [#"Incident Start (UTC)"]) else Duration.TotalMinutes([#"Incident Start (UTC)"] - [#"Detection Time (UTC)"]) else "null"
amitchandak
Super User
6 years agoAnonymous , Try soething like this
if [Triggered XYZ] = 1 then
if [#" Detection Time (UTC)"] < [#"Incident Start (UTC)"] then
Duration.TotalMinutes([#"Detection Time (UTC)"] - [#"Incident Start (UTC)"])
else
Duration.TotalMinutes([#"Incident Start (UTC)"] - [#"Detection Time (UTC)"])
else
"null"