Estefano Cayo Guzman Posted May 22, 2019 Share Posted May 22, 2019 Greetings Spotfire Community : Excuse me for my poor english. I have a problem with this expression : ERROR :OVER expressions can only reference columns in the main data table With this expression, i try to divide the cumulative sum of [Chrono].[NbDays_SPRG] by the cumulative sum of [GPS]. When the two cumulative sums are separated, it works so i think the problem is THEN. If you have a solution to divide these cumulative sum, please tell me. Link to comment Share on other sites More sharing options...
Richard Pobi Posted May 22, 2019 Share Posted May 22, 2019 You need to create a calculated column first and add it to your cross table cell values. Try the below expression, Sum[GPS] over (intersect [Year],allprevious[Month])/ Sum[Chrono],[NbDays_SPRG] over (intersect [Year],allprevious[Month]) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now