I've unchecked the totals on the Pivot Table options, but it seems to be incorrectly using the Grand Total value for the course with ID ending 6472 (total value = 230).
How do I fix this?
See the "Course" legend is filtered. Also, the blue line for total 230 is not just for the last record number 100. It is total for each record. Hence, it is always on top of all other lines.
This indicates that the source data is having an additional course which is filtered out. Remove the filter then you will see actual 6472 course is repeated in the source data as many times as the total of all other courses. This may be a mistake while labeling the total of mails for each records (from 1 to 100) in the source data.
If there is no such problem with the source data, the pivot and chart should look something like this. (without the top blue line for total and irrespective of the totals in the table.
Related
I am doing a project and I am supposed to get the percentages of trucks that are under weight (under 25k lbs) by using only a pivot table. I am not allowed to touch or add anything to the data at all. I have the count of how many trucks are under weights, I just do not know how to get the total percentage. I cannot add anything to the data. My only hint was that I need to use calculated field.
This is what I have so far: This data has been filtered and what seems like I need to do is take the filtered data and divide it with the unfiltered data. Please Help
In the “value field settings” you can choose how to show the values as … % of different totals
https://support.microsoft.com/en-us/office/show-different-calculations-in-pivottable-value-fields-014d2777-baaf-480b-a32b-98431f48bfec
Sorry about the title, it was hard to figure out how to word this. So, my main problem is a Total Count column represent the overall quantity, but the other columns are PART of a Total Count column. This wouldn't be so bad except the other columns may be part of each other too. Meaning, for like 11/26/18... the Total Count column is ALL of the Item Count, but some of the other ones may be in New PR Count too, but not necessarily all. Same thing with Dropped Outside LT and Dropped Late columns. They are all part of the Total Count column but all are not necessarily separate.
I feel nothing short of a bunch of complex formulae or macros will fix this so, what is my best option to show at least the individual counts? I was thinking to have the Total Count column as a Clustered Column chart type, the other columns as a Stacked Column and the 2 lines as is. Or all columns just be Clustered Columns and lines as is. What do you all think would best show this data?
So sadly, due to proprietary, I am told at work not to upload an image of the chart. FUN. So, here is what I have..
7 Series - 5 Series are Stacked Columns in Primary Axis, 2 Series are Line with Markers in Secondary Axis. Each column is for a single week's entry of data (so based around a Date entry.
The two Line with Markers are percentages (Secondary Vertical (Value) Axis) on right side of chart. On left side is Total Count (Verical (Value) Axis) basically showing a Count being connected to the Total Count column.
I am using the excel's pivot table to sort and filter data from Super Store Dataset from tableau . Here is a screen shot of my output.
The steps that I followed are:
a. Put Order Date in the Rows.
b. Put Sub-Category in the Columns.
c. Put the Profit in the Sum of Values.
After that I took these steps:
d. Sort the Grand Total of the Sub Category from largest to smallest.
e. Sort the Grand Total of Order Date from largest to smallest.
f. Filter Top 3 from the Sub-Category.
g. Filter Top 10 from the Order Date.
And the above image of an excel sheet shows my output.
Now the problem is , even though the excel sheet was supposed to show me the top 10 orders , it only manages to show 7 to 8 orders. The rest 2 to 3 of them are either blank or should not even belong to the top 10 category.
Does anybody knows why is this happening. And how can this be prevented.
Thanks.
Edit: This is how the top 15 looks like :
I believe top 10 is based on the vertical Grand Total and it should also be a subset of the top 15.
And this is the top 20 :
It looks like this is caused by opening the .xls workbook in Compatibility Mode. This means that Version 10 pivot tables are created, which have different filtering functionality to the later, Version 12 Pivot Tables.
Change the workbook to an upgraded file format (.xlsx), and refresh your pivot tables - you'll get an interesting message informing you of the changes made to Top 10 filtering, and then the multiple Top N filters will apply correctly:
Here's some more information about Pivot Table versions / compatibility, from Microsoft
I currently have a dataset that consists of 30,000 records. Each record contains the Action Performed, Week, Person who Completed the Work, QC Flag. So in a day we might have 8 people work 3 tasks for a total of 700 work items. We randomly sample 40 of those cases and they fail 3 of those 40 collectively.
I would like a pivot chart that has a stacked column showing the portion of the total work allotted to each task. <---- Easy and completed
Then on the secondary axis I want to show the fail rate... not as a percentage of the total but as a percentage of those qc.
So, I can get the pivot data to say:
Week [1]...QC Fail [3]...QC Pass [37]...QC Blank [660]
...at the Task level. But the output shows the fail rate per task and I do not want that. I want task delineated by volume and the fail rate of the total population.
After a lot of meddling and trial and error I figured out a solution. It's a dirty workaround but it gets the job done. I created one flag field per task as calculated fields in my data. In addition I created flag fields for all items that failed QC. Then my pivot used Week as Row and nothing but values as columns. My values were then count of each task type, sum of my fail flag field, count of QC items. I then displayed the tasks as a stacked column and the fails and total QC as a stacked 100% line and I changed the scale to only display up to 15% and I deleted the total QC line. I will now have to add a flag field for each new task added. Dirty... but after 7 hours I'm done.
I have an Excel file for which every line is an observation of a range of species. Observations are made by 315 different cameras (sample points), each of which was set to collect data for a range of 5-38 days (I have the number of survey days for each of the points recorded).
I need to get an average number of observations by effort:
(number of cameras set * number of days set)
I can get this average number easily, but in order to run an ANOVA on the average number of observations by effort for each species observed I need all of the values, including the days where no species was observed.
I tried PivotTables to get the number of observations for each species by camera and survey day. The problem is, on days when no species was observed, there is no entry for the day. I thought of fixing this by adding dummy lines with 0s for all of these days, but with 315 points this will take a lot of time and have a high chance of error.
Any ideas of a better way to do this?
If you right click the PivotTable, and then click "PivotTable options", there is a box that says "For empty cells show:" and you can select to put 0 in to the cells with no value recorded.
(I think this is what you're asking. I may be totally off base, though.)
Go to the pivot field in the field list> columns(days for you)> click on down arrow on your field> Field_Settings> Layout Tab> Click on Show fields with no Data