I have an issue where I have a power pivot data model with multiple slicers connecting to multiple connected queries. I don't think the actual model is of significance for my problem though.
I use the results of the various pivot tables along with some "getpivotdata" formulas to create som non-pivot tables and charts, which are the ones that the user is to focus on visually. The slicers are situated around and near these focus points.
However, almost always (with a few exceptions I can't fully explain) selecting a value in one of the slicers jumps to one of the pivot tables, usually the one I first connected that slicer to.
I have read a forum about one workaround, cutting and pasting the slicer to a different sheet then cutting and pasting back. This solves the issue for 3-4 selections, but then it reverts back.
Apart from that, all google has helped me do is find ways for the slicer itself not to resize (not my issue).
Does anyone have a valid workaround or fix for this? Of my ides are
have a hidden pivot table somewhere close to focus point that is each slicer's initial table
have the slicer initial table be an olap
some setting I dont know about
Related
I have made a workflow where I import a large excel table and then basically all 50 pivot tables connected to it change based off this data. I’ve made ‘summary tables’ that reference this.
The issue I am having is with the pivot tables. The ‘columns’ of the pivot table, displays the ‘date’ column. I am only interested in the year of that provided.
Initially I had displayed ‘years,’ then ‘quarters’ then ‘date’ on the ‘columns’ in each pivot table. Whenever I run this, sometimes the pivot tables expand… sometimes the ‘years’ column disappears and I’m only left with the date. Is there anything I can do to avoid it expanding and doing this.
From these tables I just need the ‘years’ to be displayed. However as you would know, I can’t just display the ‘years’ field, I need to have ‘date’ too… I would have preferred to have just had one ‘field’ in the column, as this would have avoided all this trouble. But I cannot seem to get around this.
I have spent the last 3-4 days trying out all kind of tips and tricks found on YouTube and rest of the internet. But I don’t manage to create what I want. Now I have to swallow my pride and ask for help.
I have a big master table, or database, with all kind of information. I want to create a dashboard with a few smaller tables with just some of the information from the database.
I attached picture of a very simplified version of what I want to archive. Picture of simplified Daschboard/MDatabase:
I want to show some of the cars in column C (in the database) in separate tables on the dashboard with just some of the columns from the master table. When a row is added, deleted or information is changed in the database I want the dashboard table to update. It would be neat if it updated automatically, but a refresh button would do.
I use Outlook 2010 but can’t use MS Query or PowerQuery.
Pivot Tables will do exactly what you want.
Select your data source Sheet2!B3:F13 and click Insert > Pivot Table. Choose the range where you want to put the picot table, and click OK.
The Pivot Table field list will appear - drag Owner, Colour and Condition to ROWS, drag Car to FILTERS. In the Pivot Table > Design ribbon, switch off Subtotals and Grand Totals, and change Report Layout to Tabular Form.
Select a car filter as required, and format to suit.
You can create multiple pivot tables in the same manner. When data in the source table is modified, you can simply refresh the pivot tables to update them.
Thanks a lot Olly!
I totally overlooked the possibility to use pivot tables. I was obsessed with using some clever code to solve it. But the use of pivot seems to be the most convenient solution.
By the way. Thanks all you excel gurus (nerds...) out there who share your knowledge in forums like this. Two weeks ago I had no knowledge about VBA, formulas etc. Now I have managed to build a user friendly database with a dynamic dashboard and interactive user forms. Only by reading forums posts and watching You Tube tutorials.
I am trying to create a simple pivot table which will tell me how many community residents reported a particular problem, and what percentage of them reported each problem type. I have a data set with name, and then columns for each type of problem. Here's an small sample of the data set:
I have created a pivot table which sums each of these columns and also provides me the total number of people who reported any type of problem at all. Here's what I have:
I want to add a second column to this pivot table that gives the percent of times each problem type was reported. Sounds simple, but because of the structure of the original data set, I can't figure out how to do it. I can set up formulas outside of the Pivot Table which reference the table, but in doing so I forfeit the ability to graph the percentages on a pivot chart. Any ideas how to create a calculated field for this pivot table?
Just to be clear, what I want is something like this, except all contained in the structure of the pivot table:
Edit: I've changed the example of the data set. Here's an explanation of the pivot table. The values under the "# Reporting Issue" column are counts of all the 1's under each corresponding column in the data set. This meant that I had to add each row to the pivot table independently, as you can see here:
I'm open to the idea that I need to change the formatting of the data set, but I'm not sure of the best way to do it. This was set up initially because it allowed for easy compilation into a data table, but Pivot Tables seem to be a different story.
Hopefully this edit clarifies things.
You need to unpivot your data so that you turn it into a Flat File...something that the PivotTable can consume properly.
The easiest way is to use something called PowerQuery, which is baked in to Excel 2016 but available as a free addin from Microsoft for any other versions. Google PowerQuery Unpivot and you will turn up hundreds of tutorials, such as this one from my good pal Chandoo . PowerQuery looks slightly daunting at first to a first time user, but it is freakin easy once you get your head around how to use it. PQ is by far the best addition to Excel in years. PowerPivot being a close second.
If you can't install PowerQuery, then you can use your current data structure to make a 'staging pivot', and then drag the Values label that will appear in the Columns area to the bottom of the ROWS pane, like in this excerpt from a book I'm writing:
Note that my Year categories are equivalent to your Issues categories.
That will emulate the flat file layout you’re after. All you need to do then is turn this intermediate PivotTable back into a normal range, change that Values heading to Issue, and add a Count heading and you’ve got the flat file you need to build a useable PivotTable.
You can also use VBA. Google Unpivot VBA and turn up hundreds of results, including this blazingly fast code I posted some time back. (Look for the code under the —Update 26 November 2013— heading.)
You can also use the DoubleClick extraction trick.
I have an Excel spreadsheet which is split down the middle and mirrored on the other side so I do comparisons. I have the same slicers on both sides but when I change one slicer the other changes too. Is there a way to make the slicers independent from each other? When you change the Report Connections on one slicer this is also copied on the other one. I have two pivot tables which are showing the same data but I just want to slice them differently.
I have now duplicated my raw data as a workaround but this seems unnecessary to do.
I suspect what has happened is that at some stage you connected both Slicers to both Pivots. When this happens, Excel then forever treats both Slicers as just one, and you can't separate them again so that they point at different Pivots. I blogged about this some time back at the following link:
http://dailydoseofexcel.com/archives/2014/08/05/slicers-and-slicercaches/
If this is the case, all you need to do is delete one of the Slicers, and create a new one on the other PivotTable.
Can we create category for Pivot table field list which appears in right side pane after opening a pivot table.For example normally there will be some check boxes to be selected.I want certain check boxes to come under a group or folder. I see the same functionality is supported in cubes excel reporting.Is it the way you write the queries to pull and do group by
Please help...
I'm going to go with not possible, but someone may have a fancy trick I'm not aware of. Pivot tables are fundamentally 2-dimensional, where OLAP allows multi-dimensional data. There are a number of tricks you can try with grouping data, however, that might get you part of the way to where you want to go. Here's a start.