The Spotfire Community is moving to TIBCOmmunity and this forum location has closed. During the transition, you can still search the old forums but posting has been disabled. We encourage you to pick up the discussion at the new Spotfire community on TIBCOmmunity.
Script for Dynamic Icon - TIBCO Spotfire Community

Script for Dynamic Icon

Last post Wed, Dec 26 2012 2:32 AM by manoj_lanser. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Fri, Dec 21 2012 1:19 PM

    Script for Dynamic Icon

    Hi all, I'm trying to write a script for a dynamic icon: an arrow that will be green and upward if the previous 7 days of sales is higher than the weekly average; red and downward if the opposite. Having trouble, would appreciate any help. Thanks!
  • Wed, Dec 26 2012 2:32 AM In reply to

    Re: Script for Dynamic Icon

    Hi Spotfire_MV, Follow these Steps to achieve your Goal:- a) Make a New Week Column depending upon your Date & then,Create a Bar chart with 2 Columns- Sum(Sales) and Avg(Sales). b)Calculate the Difference Column by right click and writing the Expression. c)Convert this bar chart to graphical table and Put a icon. Regards Manoj Singh
Page 1 of 1 (2 items)
┬ęCopyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center