In Excel 2013, I have one table "Table1" in worksheet "Data" and I have a dozen pivot tables in another worksheet named "PivotTable". When I created the pivot tables I was unaware of the checkbox "Add this data to the data model". Is there a way to add all my existing pivot tables to the data model after-the-fact?
If you go to the existing pivot table, below the list of fields you have available, there should be a line that says More Tables.... Click on that and it'll remake your pivot table in a new tab with that data model option checked. You do lose your number formatting, but it sure beats remaking the whole stupid thing!
Related
I have a table in my excel workbook which comes directly from SQL Server. From this table I have added a pivot with slicers etc.
I have recently added three new columns to the original data table, not in SQL, but manually in Excel. The new columns contain formulas which updates as I refresh the data from the SQL data source.
I would like to add slicers to my already existing sheet with slicers containing the data from the new columns but for some reason, when I select the data from which to create the slicers, the new columns that I have added does not appear in the list of columns that I can select. If I add the slicers directly from the data table, it is not linked with the rest of my slicers from the same data table.
Should I re-connect the data source to the slicers? If so, how do I completely remove the connection and reconnect again. I have graphs (slicers) and a lot more so I don't want to have to re-do all the work.
Can the problem be that I have added three new columns manually?
Please help! :)
I created a connection appending two tables from power query. Now, I want to update my existing pivot table with the connection. But, I cannot find the option in the "Change data source". But, if I check it in the connections options in the data tab, then, I can see the connection I created. Please help!!!
If the Pivot table is based on the Data Model, then the "Change Data Source" button will be greyed out, because the data source for the Pivot table is the Data Model.
If you have appended two queries, it may well be that all you need to do is refresh the pivot table.
In the following scenario, the first screenshot shows the pivot table when only the table on the left has been loaded to the data model.
In the next picture, the table on the right has been added as a query and saved as a connection. Then the table has been appended with the existing "myQuery". Then the Pivot table has been refreshed and the numbers show that it includes the new data values.
If you want to change the data source for the pivot table when it is sourced from the Data Model, you need to work in the PivotTable Fields panel and select the table or query that you want to use. In the screenshot below, you can see that the pivot table uses fields from myQuery, but I could also select fields from Table1 and Table2, which are the original tables in the grid.
I am working with a pivot table and need the functionality of counting distinct items. To do this I click the option to 'Add To The Data Model' at the bottom of the 'Insert Pivot Table' dialogue box and everything work fine.
The issue is after I build a pivot table off of the data, how do I add new rows or columns. With a typical pivot table, I'd Click the analyse tab, select the new data range and hit refresh.
Is there a way to do this for a pivot table where the data has been added to the data model?
Generally, it works the same way - if you hit "refresh all" in Data, that should take care of it.
I am using vba excel and I am opening an existing workbook and sheet with a pivot table in it and I need to add a field to the pivot table so that I can access data on the sheet that is not currently there. When I give focus to the pivot table on the right hand side a PivotTable Fields box pops up with a lists of different fields it can show. I need to add one of those fields because it is not currently checked.
I have a pivot table from multiple tables. When I double-click my pivot table data, it produces a copy of the row(s) that data came from. Is there a way for me to make adjustments aka change the values of cells in these rows, and have it only adjust the pivot table?
What I'm mainly looking for is an easy way of viewing the data through the pivot table, and adjusting it without it necessarily affecting the source tables. Right now when I adjust a row produced by the pivot table, none of the values in the actual pivot table get updated.
What about producing a new PivotTable from the drilldown sheet that got produced when you double-clicked the old PivotTable?
That's about as close as you're going to get, I'm afraid.
The pivot table is a visualization tool only. It summarizes that data that you input into the pivot table, and gives you a visual output.
If you want to change that visual output, you have to copy the relevant part of the pivot table to another area (different cell or sheet, doesn't matter). Then, you can edit that table.