charts - Visualisation of cross tables in Tibco Spotfire -


Is it possible to create a chart based on cross tables? The data table imported from Excel is already set as a cross table and I am trying to visualize it as a line chart, but not the way to set the X-axis on a line Can not find, no pillars. For example, I have a table

Other items year 1 year 2 year 3
1 apple 1 2 3
1 orange 1 1 2 2 Apple 2 2 3 2 Orange 3 3 3

And I want to display objects for years, is it possible for everyone to filter the variable? thank you in advanced! The problem is that you have a pivoted data set when you load your data in Spotfire,

I copied your sample data set then in the Spotfire, the data table was added, and click the 'Add' button and the selected clipboard. Then I went to the 'Transformation' section, under the data table table Add Form, and an univarted conversion (this picture shows what I'm talking about).

Apply negative changes to the form of data tables

Unpivot On the data form, I added 'wise' and 'item' to the 'Columns to pass through' section, and 'Columns for change' section 'Year 1', 'Year2', and 'Year 3' added to. I have also changed the name of the category by name 'year' (default is 'category'). You will see how the converted data will appear in the 'Sample' grid at the bottom of the form. Now I have a category column called 'year' and there is a new column named 'value' which holds the values ​​introduced under the old year 1 column in your original pivoted data set.

Unwip Data Conversion Dialog Window

I have an unverified data form Alright clicked, then add OK to the table form on the table form Spotfire with its unpivoted data, I created a line chart with the 'year' on the X-axis, and the sum (value) on the Y-axis.

Enter image details here

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -