Repeat first layer column headers in Excel Pivot Table - excel

Currently my pivot table contains column headers like this:
But I would like the first layer of headers to repeat itself, so that it looks like this:
Is there an option for Pivot Tables to do this? I tried going into Design > Report Layout > Repeat all item labels, but that only appears to repeat row headers, not columns.
Any help would be appreciated!

Found this via: https://support.microsoft.com/en-us/office/repeat-item-labels-in-a-pivottable-882bdb55-9cdc-4d8d-b531-8e96e41dea31
Right-click the row or column label you want to repeat, and click Field Settings.
Click the Layout & Print tab, and check the Repeat item labels box.
Make sure Show item labels in tabular form is selected.
Tested just now and it worked for column headers.

I solved this problem on simple data by the following steps:
1- Right-click the Product A
2- Choose Field Setting …
3- Go to Layout and Print
4- Add a check mark to Repeat item labels
You can see steps in the following image:
First Step:
Second Step:

I got mine to work today by following these steps:
right click on the row
choose Pivot Table Options
click on the Printing Tab
checkmark 'Set Print Titles'
Hope it works for you too!

Related

Pivot Table on Excel - Summarize data

Im working with a table similar to this one:
I want to create a pivot table that organizes the data by the "GRUPO" column, indicating the reason for leaving a company.
For example, in the table above, DK would have to have SALARIO = 2 (there are 2 people in group DK who between RAZÓN 1 and RAZÓN 2 have checked SALARIO).
I manage to do something like this:
But is not working correctly, as you see, i only want the final result for each RAZÓN...
Any help? Thanks!
Well, there might be other ways to accomplish this task, however this is what i usually do, since i found it easy one for me, so you can follow the steps and refer image as well,
1.) Select any cell within the table i.e. your ORIGINAL DATA SOURCE,
2.) Now from Data Tab --> Goto --> Get & Transform Data Group --> From there click --> From Table/Range,
3.) On selecting the one i have mentioned above, shall open the Power Query Editor,
4.) From Query Settings Panel, under PROPERTIES change the name to Grupotbl
5.) Now select any column and press CTRL A to select the whole table to change the data type, from TRANSFORM TAB --> Under Any Column Group --> Click Detect Data Type , this shall add one step in the APPLIED STEPS as Changed Type,
6.) Next select the first three columns and right click & select --> Unpivot Other Columns, eventually adding one steps under APPLIED STEPS as Unpivoted Other Columns
7.) Now rename the column Value as Razon
8.) Press CTRL and select the columns other than column named Attribute , right click Remove Other Columns,
9.) From HOME TAB under Close click the dropdown and click Close & Load To,
10.) On doing above, you shall get this and click Only Create Connection and check the Add this data to the Data Model --> Press Ok,
11.) From Insert Tab --> Pivot Table --> From Data Model --> You can either choose New Worksheet or Existing Worksheet, which ever suits you best, for this example i have selected existing worksheet cell A9
However you can also right click on the QUERIES & CONNECTIONS and click load to Pivot Table Report and Press Ok.
12.) So you see the Pivot Table layout has been created and you can also find the Pivot Table Fields Panel on the right side of your worksheet, From Fields panel you will find all the tables has been listed, select the Grupo Table --> Drag the Grupo Field in the Rows Areas while the Razon will be in the Values area respectively, you can change the layout design from design table, as well as from Report Layout change it to Show in Tabular Form.
13.) In this manner you can Transform your data to Summarize a Pivot Table!

how Create a graph comparing two dimensions

Hello I'm trying to figure out how I can do something like this with that table
Can you help me? because when I use candidate A as a row I can't compare them in a single graph
You need to start with propoer structured data you can report on. This menas you need a table with column "Candidate" and a column "Opinion". If your source is not like this we can unpivot the data.
Go to m-guery by clicking on "Transform data". In m-query, select both columns, click the "Transform" tab and click "Unpivot Columns". Result should be as below.
Close m-query "Apply & Close". In power by click on the matrix visual, add the columns to the fields as shown below. Pay attention to teh Values because you need to set it to count in the drop down.
Enjoy!

Hiding Tablix in SSRS report using Expressions

I have a report in which there are two tables from the same dataset, and i want to hide second table when the report runs at first, then when i click on the Product id i want to display the second table
Anyone help?enter image description here
I'm not sure you can do this by clicking on a textbox within a table as it might be out of scope, but if your first tablix is just a single line then you could just use a series of textboxes to emulate the 1st tablix.
Once you have done this, set the ToggleItem property of the 2nd tablix to be the name of the textbox that contains the ProductID.
I've just tested this and it works as expected.
...and if that does not help...
If your 1st tablix shows mutliple rows, you might want to consider adding a second row to it with the columns you require from your 2nd tablix and setting the toggleitem property of the 2nd row.

Excel: Return the last entries from a list of entries

Please excuse me for the wording of the title. Not sure exactly how to word this so it's probably best to just show.
I have a list that looks like this
Name Date Updated
==== ===========
Item 1 1/1/2015
Item 2 1/2/2015
Item 3 1/3/2015
Item 2 1/4/2015
Item 3 1/5/2015
Item 1 1/6/2015
This will be an ongoing list. As items are updated they will be entered in like this. I would like to create a second sheet that gives me the last date that each item was updated. So the result based on the above table would look like this.
Name Date Updated
==== ===========
Item 1 1/6/2015
Item 2 1/4/2015
Item 3 1/5/2015
I have found a few solutions on the web that work when I first input the formula (Links below), BUT when I add more entries in the first table the results wont update or they'll show the wrong data.
Links:
http://blog.contextures.com/archives/2014/02/04/find-last-item-in-group-with-index-match/
http://www.get-digital-help.com/2014/02/07/find-last-matching-value-in-an-unsorted-list/
Thanks in advance for any help.
You can simply omit the numbers in the formula to get the whole column:
=INDEX($C:$C,MAX(($E$3=$B:$B)*MATCH(ROW($B:$B),ROW($B:$B))))
(following the formula from your second link).
You can record a macro as you do it manually one time. Then assign that macro to a button. Then click the button anytime you need the sheet updated.
Steps:
Start on a sheet other than the one with the data. Explanation in #3 below.
Start recording your macro by going to View > Macros > Record Macro. In the bottom left you'll now see a square stop button for when you want to stop recording.
Select the sheet with the data. This way the macro will always remember to select the right sheet regardless of where you are.
Select the two-column range of cells that has your data, then continue selecting a few hundred rows down, or at least well beyond where you think your data will eventually go down to.
Copy
Select the sheet where you want to have the summarized data.
Paste
Sort by name (ascending) and date (descending) all at once (rather than two operations). Do this by going to the Data tab in the ribbon and selecting the white and blue sort button that has two A's and two Z's and says "Sort".
With this pasted and sorted range still selected, remove duplicates in the name column. To do this, do not change the selection. Go to the Data tab and select Remove Duplicates.
Now your items will appear once and the date will be the most recent date.
Click the "stop recording" square blue button in the bottom left to stop recording your Macro.
You can assign this macro to a button or to a shortcut. To add a button you need to show the developer tab and then draw the button using one of the options on the developer tab. I can't remember offhand how to show the developer tab. Once you have a button, right click and assign the macro to the button.
13A. If you want to customize the macro, click ALT+F11 to get to the visual basic editor. Double click on one of the things named something like "module" on the left and you can edit your the range in your macro, for example if your data suddenly goes down 100 more rows than what you planned and you want the macro to cover it. Save with CTRL+S. The next time you run your macro, it will reflect these changes.
13B. View > Macros to edit your macro if you want to assign a shortcut key to it instead of adding a button.
Try all this with a copy of your spreadsheet so that you don't delete data by accident.
Does it work for you?
You could easily do this with a Pivot Table. Drag Item to Rows area and Dates to the Values area. Then format the values as Date, and select to return Max.

Adding a section on a form in CRM 2011

I have a form in CRM 2011 with a tab split into 2 columns. On this tab, I want to add a section that spans across both columns of the tab (the entire width of the form). When I insert a section on the tab, it just adds the new section to the left column of the tab and I am unable to get it to span across the other column. Does anyone know of a way to achieve this?
Thanks in advance!
Insert a one column tab. Drag a field to one of the 2 columns inside the tab. Click on the field, then on Change Properties in the ribbon on the top of the page. Select the formatting tab and then choose 2 columns.
I have fixed this issue by adding a new one-column tab without showing the tab name below the existing tab and adding a one-column section within that tab. So this now ends up looking like another field within the same tab since the new tab doesnt have a name displayed. Thanks for your help Jason Lattimer!

Resources