Jump to content

Adding Previous Year/Month's Sales to data table as a calculated column


Gary Medford

Recommended Posts

  • 2 weeks later...

You need to use the OVER function to refer to other rows in your calculated columns.

 

https://docs.tibco.com/pub/spotfire/6.5.0/doc/html/ncfe/ncfe_over_functi...

https://docs.tibco.com/pub/spotfire/6.5.2/doc/html/ncfe/ncfe_over_in_cus...

 

This expression gives you the desired result based on your example:

 

Min([Actual]) OVER Intersect([G/L ACCOUNT NUMBER],Previous([Yr Mo Int]))

Link to comment
Share on other sites

  • 2 years later...

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...