Jump to content

A question on function "then"


Pei Hsuan Shen 2

Recommended Posts

I am reading the document onhttps://docs.tibco.com/pub/spotfire/7.0.0/doc/html/ncfe/ncfe_using_expressions_on_aggregated_data_the_then_keyword.htm.

The example shows that

"Examples:

Instead of: Sum([sales]) OVER (AllPrevious([Axis.X]))

Use: Sum([sales]) THEN Sum([Value]) OVER (AllPrevious([Axis.X]))".

 

But as far as I know, Value is equal to Sum([sales]). So, the use becomes that

"Use: Sum([sum([sales])]) OVER (AllPrevious([Axis.X]))".

I am confused. Can someone tell me what wrong is

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