Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Average Calculation

rrahu07
アステロイド

can someone please help me to calculate average of between line 1 and line 2, then line 2 and line 3, line 3 and line 4? Also, I want to make sure in moving average calculation I am not combining last time entry of the day and the first entry of next day.

NameTime
A9:01:00
A9:02:18
A9:05:56
A9:06:43
A9:07:25
A9:08:48
A9:12:01
A9:21:12
A9:34:29
A9:40:37
B9:01:00
B9:02:18
B9:05:56
B9:06:43
B9:07:25
B9:08:48
B9:12:01
B9:21:12
B9:34:29
B9:40:37

 

I tried using this expression on multi-row formula, but i am getting.

iif (IsNull([Row-1:Time]),[Row-1:Time],([Row-1:Time]+[Row-1:Time])/2)

 

what am i doing wrong?

10件の返信10
grazitti_sapna
キャスター

@rrahu07, as I mentioned above you mentioned only time so my workflow was working based on Employees now I have updated it please try the new workflow.

grazitti_sapna_0-1656477484586.png

 

I hope this helps!

 

Thanks!

Sapna Gupta
ラベル