Mark Manalo Posted February 21, 2023 Share Posted February 21, 2023 Say for the cross table below:The boolean expression, Last([Axis.Color]) over Previous([Axis.Color]) = 17, is not working as I expected. I am expecting that using this expression with change the cell color for Aug2022 and Oct2022. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted February 21, 2023 Share Posted February 21, 2023 I cannot work out how you got to that expression. Could you upload a sample dxp? Link to comment Share on other sites More sharing options...
Mark Manalo Posted February 22, 2023 Author Share Posted February 22, 2023 Hi Gaia, attached is the sample dxp file. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted February 22, 2023 Share Posted February 22, 2023 The way you were trying, you only had Axis.Color to work with, and Axis.Color is not a number so it did not work. I tried a few options, the only one that worked was to add two calculated columns: a [Month] as Month([DATE_TIME]), and a previous month average [Prev_month_avg] as Avg([CYCLE_TIME]) over (Previous([Month])). I could not put the Month expression directly in the second column, as OVER does not work with expressions.Then you can colour by the latter in your cross table. Instead of the Boolean expression, choose the option of Color the grouping using another expression. Note you need to have TEST selected in order to see the colours (for some reason it always reverts to focus on the Numeric grouping when you open it first).I am attaching the dxp. Link to comment Share on other sites More sharing options...
Mark Manalo Posted February 23, 2023 Author Share Posted February 23, 2023 Is Color the grouping using another expression available only for version 12? We are using version 10. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted February 23, 2023 Share Posted February 23, 2023 You're right, the option was introduced in 11.2. Are you able to upgrade your version?https://community.spotfire.com/s/article/What-s-New-in-TIBCO-Spotfire-11-2#colorcrosstablecellsbyothercolumns 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