I've been struggling to find the root cause of this problem. I have a raw data table in RAW DATA worksheet (created a relationship with table in vlookup data (Image 2) to use power pivot), and I have a pivot table OVERALL worksheet that I need to show the payload cycle for March 2021. All but 1 row showed correct data. Payload range 54.6~59.2 (image 3) should have 11 cycles (image 1). But instead, the cycles showed in the (blank) category of the pivot table. However, when I change the rated payload value from 91 to other values from far 91, like 100 and above (MAIN worksheet), the pivot table becomes accurate. I dont know why this happens.
Excel macro file link
Image 1
Image 2
Image 3
Your relationship for raw_data[UPPER LIMIT] and index_data[UPPER LIMIT] for 59.150 is failing. I tried to pull in the RELATED() PAYLOAD, and got blanks for that limit.
In your V-look up data sheet I changed the UPPER LIMIT from "above" to 999. That allowed both columns in your data model to be formatted as Decimal Number and fixed the missing cycles.
Related
I have an existing spreadsheet and macro process I'm trying to improve, and I have multiple tables which refresh for each client, and can have between 3 and 6 rows of data (depending on whether someone has enough history to fill all 6 rows). There is a chart attached to the table which works fine when all 6 are there, but when there are fewer rows, the chart leaves a blank space on the X-axis to account for that table row.
Example of the table when full
Quarter Value
2021Q1 10
2021Q2 7
2021Q3 4
2021Q4 2
2022Q1 1
2022Q2 0
Example of the table when less than full
Quarter Value
2021Q3 4
2021Q4 2
2022Q1 1
2022Q2 0
On the second table, there will be places on the X-axis for values, rather than knowing there's no data and only showing 4 places
Is it possible for excel charts to refresh dynamically depending on what is in the source? I have found plenty of guides for what to do with the chart lines when there is no value, but not to ignore a whole row from the report.
I have results from a survey. The first pivot table breaks down the responses by age group and language.
The third pivot table counts how many of the respondents have access to a computer, tablet, cell phone. For example, 13 Chinese respondents age 18-49 have access to a computer, which is 50% of the 26 total Chinese/18-49 respondents. And then 16 of Chinese/18-49 have access to a tablet, which is 62% of the total Chinese/18-49 respondents, and so on.
I manually calculated/used a formula (=IF($B5="", "", J5/$B5 for Chinese/18-49 w/ Computers) the percentages in the last table, but is there a way to do it via pivot table?
I've tried looking at the Analyze -> Fields, Items & Sets tool but can't figure this out.
I'd like to do it by pivot table so that it can refresh if there are any new survey results, like one with a new language.
Thank you!
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.
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 created a pivot table below and wanna calculate the count of 2016 - count of 2015 for each row. How can I do it in pivot table? Cheers
2015,2016 is value of a field 'year'.
You can follow the instructions in the GIF below.
I've created a data table according to your questions and tested it.
The main thing in this solution is the Show Values As > Difference
From option in Pivot Table.
Positive result means 2016 is bigger, negative result means 2015
is bigger.
I hid the irrelevant columns that were populated, I suggest you do
the same.