Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Dividing Two Monthly Rolling Totals


Tony Mak

Recommended Posts

Hello,

Having some issues with this expression. Each expression works fine but I can get the right numbers when dividing them.

A) Sum(if([isOpen]="Closed",1,0)) THEN Sum([Value]) OVER (AllPrevious([Axis.X]))

B) Count([ChangeRequest_ID]) THEN Sum([Value]) OVER (AllPrevious([Axis.X])) as [Total]

 

 

Sum(if([isOpen]="Closed",1,0)) OVER (AllPrevious([Axis.X])) / Count([ChangeRequest_ID]) THEN Sum([Value]) OVER (AllPrevious([Axis.X])) as [DRI]

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...