Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Previous Function in Webi

Previous Function in Webi

Previous Function in Webi

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

RE: Previous Function in Webi

I am not sure how Previous works in WebI, but in Crystal Reports is it very important the make sure the data is sorted correctly. It will look at the previous record and thus if you have multiple records with similar information (i.e., Investigation Client_ID), then it will possibly look at the wrong data. Are doing grouping on the investigation Client_ID and the function is in the details?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close