How to unmerge the rows in Cross table of Spotfire - spotfire

As in the image of Cross table, i want to show "Protocol Status" column values in each row(as of now its merged) . How to unmerge it to show in all rows rather then the single one?

The grouping cannot be undone but is create a new table based off your underlying data and pivot the table to create a table so you can display as a table rather than a cross table.
Or add Protocol Status to your axis First([Protocol Status]) and make your first column that is grouped hidden by making the column width 0.

Related

Create a calculated pivot table column in excel based off other columns in the pivot table?

So I have a bunch of rows in a query table that shows orders from a certain timeframe and whether that order had a "defect" or not. I have started a pivot table on that table to summarize the # of orders and # of those orders that were defective by day (trying to start a p-chart).
Is there any way to create a 4th column in the pivot table that calculates the percent defective (Orders with Defects/Count of Orders) from the two existing columns?
Sure,
Based on this site, these are the steps:
To start, select any cell in the pivot table
Next, on the Excel Ribbon, go to the PivotTable Analyze tab
In the Calculations group, click Fields, Items, & Sets
Then, in the drop-down menu, click the Calculated Field command
Once there give a name to your Calculated Field and set your formula to Orders with defect / orders (tip: select the fields from the list to make sure you get the names right).
One last note: I believe calculated fields perform additions by default.. I noticed your 2nd column is a "count", I believe the calculated field will sum that column (before dividing) instead of counting it.

Combining Column Values in an Excel Pivot Table

In order to simplify a stacked bar chart, I am looking to sum up the counts of multiple columns I have in my pivot table. For example, in this sample table, I would like to combine Fruits and Vegetables into one column, so that each bar will comprised of three colors: one for Meats, one for Grains, and one for Fruits+Vegetables.
Pivot Table and Stacked Chart
For reference, this is the data source:
Data Source table
I tried adding a Calculated Field, but I'm not sure if I can use specific values from a column in the Formulas field. Is there a way to create something like this from a pivot table, or should I be taking a different approach to this all together?
I'm using Excel 2016, -- pretty sure it's the same with older versions, but the premise is the same.
In your pivot table, Select the Pivot Table Tools> Analyze tab, then "Fields, Items",then pull down to"Calculated fields". Enter a name for the generated field, and the formula you want to use:
In my example, I added the fields Fruit and Vegi's from my available pivot table fields (which is based on my data table).
Then select the calculated field as you would any other..
and create the chart as usual.
Hope this helps.

How to create a pivot table with a calculated column?

In the original data source, I created a new calculated column (Insert > Calculated Column).
When I go to create a pivot table (Insert > Transformation), the new calculated column does not appear as a field I can select. How do I create a pivot table with this new calculated column that I added? Thanks!
This isn't doable. The reason is the calculated column is based off the data source and is re-calculated any time the data is refreshed, updated, etc at runtime... that means when the data is loaded from the source, the calculated column is created. Your transformation can't be based off this at runtime. What you can do, is insert a transformation and then create a calculated column after the transformation.
If are ok with not editing the created column, you can use option of "Freeze Column". You get this button when you create a new column on bottom right.

Power Pivot, Pivot Table can't expand field after Filtering

I'm having problems with my pivot table, the data is created from Power Pivot.
I filtered my main field by a specific Name, and lose the + expand field and all of the rows not in my filter become hidden (please see example screenshot).
I tested created a regular pivot table and this error doesn't show up.
Please advise, thanks!
The blue row heading indicates that the filtering is not done with the pivot table tools. If you filter the pivot table headings, you can still expand and collapse the pivot rows and the row headings stay black. If, however, you have a spreadsheet filter outside of the pivot table, that filter will turn filtered row headings blue and may hide the rows into which the pivot table expands.

Extracting data from a Pivot table to a table with two columns. Combining two cells to one

I'm trying to extrat data from a pivot table. See photo below. Basically I need an end product with two columns, one with the date, the other listing all it's associated labels in one cell. (i.e. for "2015-06-14" it would list both 875-7A and 875-8 in one cell one column over). Please help.
EDIT:
New table. Now just to combine the data into one cell if the date has more than one label. the logic: =if("the date" has more than one value", plot value 1 & value 2 into once cell.)
Select the Pivot table
Go to the Ribbon: PivotTable Tools \ Design
Report Layout \ Show in Tabular form
This should do it. Look at the other options in Report Layout and Subtotals to test other layout options.

Resources