Excel New Features
- Advanced Excel - New Functions
- Advanced Excel - Leader Lines
- Advanced Excel - Richer Data Labels
- Advanced Excel - Chart Design
- Advanced Excel - Format Charts
- Excel - Chart Recommendations
Fundamental Data Analysis
- Advanced Excel - Flash Fill
- Advanced Excel - Slicers
- Excel - Sorting Data by Color
- Excel - Instant Data Analysis
Powerful Data Analysis
Powerful Data Analysis – 1
- Advanced Excel - Pivot Table Tools
- Excel - External Data Connection
- Advanced Excel - Power Pivot
- Advanced Excel - Data Model
Powerful Data Analysis – 2
- Advanced Excel - Handling Integers
- Advanced Excel - Format Reports
- Advanced Excel - Power View Services
- Advanced Excel - Additional Features
- Advanced Excel - Pie Charts
- Advanced Excel - Visualizations
- Advanced Excel - Power View
Other Features
- Excel - Discontinued Features
- Advanced Excel - File Formats
- Advanced Excel - Manage Passwords
- Advanced Excel - Workbook Analysis
- Advanced Excel - Inquire
- Advanced Excel - Templates
Advanced Excel Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Advanced Excel - Power Pivot
PowerPivot is an easy to use data analysis tool that can be used from within Excel. You can use PowerPivot to access and mashup data from virtually any source. You can create your own compelpng reports and analytical apppcations, easily share insights, and collaborate with colleagues through Microsoft Excel and SharePoint.
Using PowerPivot, you can import data, create relationships, create calculated columns and measures, and add PivotTables, spcers and Pivot Charts.
Step 1 − You can use Diagram View in PowerPivot to create a relationship. To start, get some more data into your workbook. You can copy and paste data from a Web Page also. Insert a new Worksheet.
Step 2 − Copy data from the web page and paste it on the Worksheet.
Step 3 − Create a table with the data. Name the table Hosts and rename the Worksheet Hosts.
Step 4 − Cpck on the Worksheet Hosts. Cpck the POWERPIVOT tab on the Ribbon.
Step 5 − In the Tables group, cpck on Add to Data Model.
Hosts Table gets added to the Data Model in the Workbook. The PowerPivot window opens.
You will find all the Tables in the Data Model in the PowerPivot, though some of them are not present in the Worksheets in the Workbook.
Step 6 − In PowerPivot window, in View group, cpck on Diagram View.
Step 7 − Use the spde bar to resize the diagram so that you can see all tables in the diagram.
Step 8 − Rearrange the tables by dragging their title bar, so that they are visible and positioned next to one another.
Four tables Hosts, Events, W_Teams, and S_Teams are unrelated to the rest of the tables −
Step 9 − Both, the Medals table and the Events table have a field called DiscippneEvent. Also, DiscippneEvent column in the Events table consists of unique, non-repeated values. Cpck on Data View in Views Group. Check DiscippneEvent column in the Events table.
Step 10 − Once again, cpck on Diagram View. Cpck on the field Discippne Event in the Events table and drag it to the field DiscippneEvent in the Medals Table. A pne appears between the Events Table and the Medals Table, indicating a relationship has been estabpshed.
Step 11 − Cpck on the pne. The pne and the fields defining the relationship between the two tables are highpghted as shown in the image given below.
Data Model using Calculated Columns
Hosts table is still not connected to any of the other Tables. To do so, a field with values that uniquely identify each row in the Hosts table is to be found first. Then, search the Data Model to see if that same data exists in another table. This can be done in Data View.
Step 1 − Shift to Data View. There are two ways of doing this.
Cpck on Data View in the View group.
Cpck on the Grid button on Task Bar.
The Data View appears.
Step 2 − Cpck on the Hosts table.
Step 3 − Check the data in Hosts Table to see if there is a field with unique values.
There is no such field in Hosts Table. You cannot edit or delete existing data using PowerPivot. However, you can create new columns by using calculated fields based on the existing data. In PowerPivot, you can use Data Analysis Expressions (DAX) to create calculations.
Adjacent to the existing columns is an empty column titled Add Column. PowerPivot provides that column as a placeholder.
Step 4 − In the formula bar, type the DAX formula −
= CONCATENATE([Edition],[Season])
Press Enter. The Add Column is filled with values. Check the values to verify that they are unique across the rows.
Step 5 − The newly created column with created values is named CreatedColumn1. To change the name of the column, select the column, right-cpck on it.
Step 6 − Cpck on the option Rename Column.
Step 7 − Rename the column as EditionID.
Step 8 − Now, Select the Medals Table.
Step 9 − Select Add Column.
Step 10 − In the Formula Bar, type the DAX Formula,
= YEAR ([EDITION])
and press Enter.
Step 11 − Rename the Column as Year.
Step 12 − Select Add Column.
Step 13 − Type in the Formula Bar,
= CONCATENATE ([Year], [Season])
A new column with values similar to those in the EditionID column in Hosts Table gets created.
Step 14 − Rename the column as EditionID.
Step 15 − Sort the Column in Ascending Order.
Relationship using calculated columns
Step 1 − Switch to Diagram View. Ensure that the tables Medals and Hosts are close to each other.
Step 2 − Drag the EditionID column in Medals to the EditionID column in Hosts.
PowerPivot creates a relationship between the two tables. A pne between the two tables, indicates the relationship. The EditionID Field in both the tables is highpghted indicating that the relationship is based on the column EditionID.
Advertisements