Spotfire Cross table visualization - Coloring the columns based on column header - spotfire

I have a cross table visualization as shown below,
Product Group1 Group2 Group3
ABC 1 --- ---
EFG --- 1 ---
HIJ 2 2 1
KLM 3 3 1
NOP 4 4 1
Is it possible to color the columns based on column header, for example i want the column "Group 1" to be coloured in Yellow, "Group 2" to be coloured in pale green and group 3 to be coloured in Green.
Appreciate your response!

If you go to the properties of the cross table and then look at Colors, you can see on the top of Colors, the header color by. By default this stands on Cell Values. You can change this to your header column. Next you have to add group 1 to the Color Scheme Groupings and set this color to Yellow with color mode fixed. If you do the same for the other Groups, your cross table will be colored as you want.

Related

Get pivot data & vlookup with multiple criteria

I have the following pivot table:
ID
Name
Ranking
123
Red
1
123
Black
2
123
White
3
124
Black
1
124
White
2
124
Red
3
Considering two conditions: ID&ranking I would like to look into the pivot table and retrieve the name. For example, for ID 123 & Ranking 2 I would like to see the name Black as result.
Any hint to write the formula in excel?
You can use a standard FILTER function and multiply the two criteria to get your filter list
=FILTER(B1:B7,(A1:A7=123)*(C1:C7=2))

Excel - Validate data based on dependent fields

Hoping someone can help on this. I am trying to identify where values are invalid.
I have a set of data that contains correct values for three fields where they are dependent of each other.Table 1 (Correct Dataset)
I have another set of data that contains values within these three fields and contains invalid values. How can I easily identify where the values are invalid? Table 2 (Invalid Dataset)
Table 1 (Correct Dataset):
Letter Color ProductName
A Red Product A
B Blue Product B
B Orange Product C
C Red Product D
Table 2 (Invalid Dataset)
Letter Color ProductName
A Red **Product D**
B **Red** Product B
B Orange Product C
**D** **Blue** Product D

Column order in PowerView

I have following sample data in PowerPivot:
id name type color
1 aaa x blue
2 bbb y red
3 ccc x blue
4 ddd y orange
5 eee z black
When I create pivot table in Excel and enable show details (doubleclick on specific value), I get follwing output:
[$Sheet1].[id] [$Sheet1].[name] [$Sheet1].[type] [$Sheet1].[color]
1 aaa x blue
2 bbb y red
3 ccc x blue
4 ddd y orange
5 eee z black
What I'd like to set is my own column order or specify columns which I want to see. E.g.:
[$Sheet1].[id] [$Sheet1].[color]
1 blue
2 red
3 blue
4 orange
5 black
Could you please advise? Thanks
You need to merge the sort table with the main table, so the sorting numbers are inside the main table. Then you can click the Colour column and set the sort order to the sort column using the "Sort by Column" command on the Home ribbon of the Power Pivot window. In the screenshot, I have added the desired sort numbers
1 - red
2 - blue
3 - black
4 - orange
and added the values in a new column. Then defined the Sort by Column and created a pivot table where the color data is in the rows. Note how the desired sort order is applied correctly.
There are many different ways how you can get the sort numbers into the helper sort column.

Add horizontal axis per series in excel

How frustrating is Excel.. working on this for half an hour now.
I simply try to make a frequency plot of two groups, with different colours. On the x-axis I would like to display the subject.ids per bar.
However, if I select a different range for the horizontal x axis per series (series 1 = blue, series 2 = orange) with the subject id, it changes the x-axis in the other series to the same. What in hell am i doing wrong?
3007 1
23121 1
3009 1
3005 1
3011 2
23171 2
3207 2
3102 3
3207 6
13302 7
2411 11
23191 11
3008 11
3106 12
110031 1
110031 1
110030 1
110017 1
110014 1
110008 1
110004 1
110007 2
110035 4
110020 4
110003 4
110036 10
110019 11
110015 21
AFAIK, you cannot put 2 series onto the x axis.
You have 2 alternate ways to solve your problem:
Concatenate each positional pair into a new column and use this as the x-axis label series. It will look like this:
You could use data labels for each series. However, this will add the data to the columns themselves and not the axis (you could put it at the base of the column). To do so, you will need to right click on the graph, select 'Add Data Labels'. By default it adds the value as the label, but you can select the labels, right click to format the data labels and use the 'values from cells' option. Once you do this and play around with the orientation and location of the labels, it will look like this:
For simplicity, I'd go with the first method
Adding a 3rd option; simply put the columns for the axis labels beside each other and when selecting the Data for the Axis Labels, just select both columns instead of the usual 1. It will look like this:

Excel sort by similar cell data

So I have this list of data that i need to compare 2 spreadsheets with. Im going to simplify it with a list like below(Column A being a part number, and column B being a quantity):
Spreadsheet 1:
Red 1
Blue 2
Green 1
Orange 6
Yellow 8
Spreadsheet 2:
Red 1
Green 1
Blue 2
Orange 6
Yellow 8
Silver 2
Brown 3
Now what i would like my output to be:
Red 1
Blue 2
Green 1
Orange 6
Yellow 8
Silver 2
Brown 3
Notice that im sorting it so that list 2 aligns with list one, and if list 2 contains things that are not on list 1 it puts it at the bottom(preferably vice-versa compatible). Im not sure if this is even possible, but if it is it will GREATLY decrease my workload so any help is MUCH appreciated. Thanks for your time!

Resources