Can someone explain to me why the Previous function does not work as expected in the below formula? It seems to work perfectly when I only have 1 or 2 clients. On Gardin, the first row should say No Credit because the Weight of Part is =< the Previous Weight of Part.
= If IsNull ([Authorized Case Credit Total]) Then "PSX Not Started" Else If [Investigation Client ID] = Previous ([Investigation Client ID]) And ([Weight of Part(s)] <= Previous([Weight of Part(s)])) Then "No Credit" Else ([Authorized Case Credit Total])
See attachment of data.
Investigation Client ID Weight of Part(s) Authorized Case Credit Total
Alexander 44.93 67.57
Alexander 39.71 No Credit
Bass Null PSX Not Started
Gardin 44.27 59.15
Gardin 44.27 No Credit
Gardin 44.93 59.81
= If IsNull ([Authorized Case Credit Total]) Then "PSX Not Started" Else If [Investigation Client ID] = Previous ([Investigation Client ID]) And ([Weight of Part(s)] <= Previous([Weight of Part(s)])) Then "No Credit" Else ([Authorized Case Credit Total])
See attachment of data.
Investigation Client ID Weight of Part(s) Authorized Case Credit Total
Alexander 44.93 67.57
Alexander 39.71 No Credit
Bass Null PSX Not Started
Gardin 44.27 59.15
Gardin 44.27 No Credit
Gardin 44.93 59.81