Contents:

Excel and Google Sheets: A Free Course for Everyone!
Learn MoreWhy You Need the Power Pivot Add-in and How It Works
Power Pivot is a free add-in for Microsoft Excel that significantly expands the functionality standard tool. It allows you to effectively process and analyze large volumes of data from various sources. Power Pivot allows users to create complex data models, perform advanced calculations, and conduct in-depth analysis, making it an indispensable tool for business analysts and data specialists.
Excel 2010 users must download Power Pivot separately from the official Microsoft website. Starting with version 2013, this add-in is included in the standard Excel package, which significantly facilitates access to its functionality. It is important to note that macOS users cannot use Power Pivot, as this add-in is not supported for this operating system. To effectively work with large volumes of data and create complex reports, we recommend upgrading to Excel 2013 or later to take full advantage of Power Pivot.
Working with Power Pivot involves several basic steps. First, you need to load data from various sources, such as Excel, SQL Server, or other databases. Then you need to transform and clean the data to bring it into a format convenient for analysis. After this, you can create data models by linking tables and defining relationships between them. A key step is creating dimensions and calculated fields using DAX (Data Analysis Expressions), which allows for deeper data analysis. The final step is data visualization using Power BI or other tools, which helps interpret results and make informed decisions. Power Pivot greatly simplifies working with large volumes of data and allows users to effectively analyze information.
- Load data from various sources, such as Microsoft Access databases, 1C accounting systems, text files, and Internet sources.
- Set up relationships between loaded data to create a data model, which eliminates the need for traditional Excel lookup functions such as VLOOKUP.
- Perform additional calculations as needed for deeper analysis.
- Create various reports based on the data model in the format of pivot tables or charts, which allows you to visualize data and simplify analysis.
In the following sections, we will consider in detail practical examples of loading data from external sources into Power Pivot. We will discuss data modeling methods and creating reports in the format of pivot tables. These skills will help you effectively use Power Pivot for deep data analysis and informed decision-making.
Efficiently Loading Data from Diverse Sources into Power Pivot
Data analysis often requires integrating information from different formats. Consider an example where we have four different file types. Combining data from these files allows us to gain a more complete understanding of the object or process under consideration. This is an important step in analysis, helping us identify patterns and draw informed conclusions. Using different file formats, such as CSV, Excel, JSON, and XML, requires the use of appropriate tools and techniques to correctly extract and process the data. Effective integration of information from these sources significantly improves the quality of analysis and contributes to more accurate results.
- book publishing sales data in TXT format;
- regional directory in Access database format;
- product directory in XLS format;
- pricing policy as a Power Point slide.

The first source of information is sales data. This extensive set includes four key columns: city, product ID, sale date, and number of units sold. In total, the table contains over 1.5 million rows, which allows for in-depth analysis and the identification of sales trends.

The second source is a directory of Russian regions, which contains a table with all the cities, subjects, and districts of the country. This directory is a valuable resource for obtaining information on the geographical division of Russia and will help in studying the peculiarities of different regions.

The third source of information is the product directory. This directory contains book titles, their formats, and unique identifiers. This allows for easy identification of each book and convenient access to the necessary data. A product directory is an important tool for organizing and managing library resources.

The fourth source is the pricing policy, presented on the slide, which contains current prices for books in various formats. Book prices can vary depending on the type of publication, whether it's a print version, an e-book, or an audio format. This is an important aspect that allows readers to choose the most suitable option based on their preferences and budget. Up-to-date information on book prices helps users make informed purchasing decisions, which leads to more profitable choices.

Our task is to combine data from various sources into a single database. We will begin the process by loading the information into Power Pivot, which will allow us to effectively manage and analyze the data.
First, you need to activate the "Developer" tab in Excel. To do this, go to the "File" menu, then select "Options" and open the "Customize the Ribbon" section. In the window that appears, under "Main Tabs", find "Developer", select it, and click "OK". After completing these steps, a new tab will appear in the Excel main menu - "Developer", which provides access to various tools for working with macros and forms.
On the "Developer" tab, click the "COM Settings" button. Next, select Microsoft Power Pivot for Excel and confirm your choice. This will enable Power Pivot to work with data in Excel, significantly simplifying the process of analyzing and visualizing information.

The Power Pivot tab appears in the Excel dashboard and is ready to use. This allows users to effectively manage and analyze large volumes of data, as well as create complex data models within Excel. The Power Pivot tab provides access to advanced tools for data analysis and visualization, making working with information more productive and convenient.
Click the Power Pivot tab and select the Manage button to access data and model management functions.

Now the Power Pivot window appears, linked to the open Excel file. This allows you to work with data more effectively by creating pivot tables and data models. Power Pivot provides advanced data analysis capabilities, making it much easier to work with large volumes of information. You can easily set up relationships between tables and use powerful DAX functions to perform complex calculations.

In this window, we will begin the process of collecting data from four sources and establish the necessary connections between them. This will allow us to effectively organize the information and ensure its availability for further analysis and processing.
On the "Home" tab, select the "From Database" button, then click the "From Access" option. This will allow you to import data from an Access database into your application.

In the window that opens, specify the path to the Access file containing the directory of regions. For your convenience, use the Browse button to find the file you need.
To access the secure database, enter your username and password in the fields provided.
Click the Next button to continue.

The next window will present a full list of tables available in the selected database.
In this case, you need to select the table called "Region Directory" and confirm your choice by clicking "Finish."
Importing the table into Power Pivot will begin automatically. Once the process is complete, a window with the import results will appear. Carefully review the data and click "Close" to complete the operation. Make sure all the data is correct before moving on to the next step in Power Pivot.

The first table, "Region Directory," has been successfully loaded into Power Pivot. You can now use this table to analyze data and create reports. Power Pivot provides powerful tools for working with large volumes of information, allowing you to effectively manage data and gain valuable insights. Make sure you set up table relationships correctly to optimize your analysis.

On the "Home" tab, select the "From other sources" button and then click "Text file". After that, click the "Next" button.

Enter the address of the text file containing the sales data in the specified field.
A preview of the data will be available at the bottom of the window. If necessary, you can adjust parameters, such as changing the column separator or disabling unnecessary columns. After completing all the settings, click the "Done" button.

The process of importing the table from the text file into Power Pivot will begin. Once the import is complete, be sure to verify the data is correct and click the "Close" button. This will allow you to save your changes and continue working with your data in Power Pivot. Make sure all data is displayed correctly for further analysis and visualization.
The new Power Pivot window now includes the "Sales" tab, which contains over 1.5 million rows of data. It's important to note that without Power Pivot, Excel can only work with approximately one million rows. This significant expansion of data analysis capabilities in Power Pivot allows you to more efficiently process large data sets, which makes working with big data more convenient and productive.

On the "Home" tab, click the "From other sources" button, then select the "Excel file" option and click the "Next" button. This process allows you to import data from Excel for further analysis or processing, which greatly simplifies working with information.
Specify the path to the Excel file with your product catalog and click the "Next" button.

The next window will display a list of all tables available in the selected file. Select "Product Catalog" and click "Done." This will allow you to proceed further with product data, providing convenient access to the information you need.
Data import is complete, and a window with the operation results will appear on the screen.

Power Pivot now has a new "Product Catalog" tab, which contains the full data set from the source file. This updated feature allows users to easily access product information, significantly simplifying data analysis and reporting. Now all product data is collected in one place, which improves the usability and efficiency of Power Pivot.

To import data from PowerPoint, use the copy-paste method. Open the PowerPoint file, select the desired table, then right-click and select "Copy." Then, return to the desired application or document and select "Paste." This simple method allows you to quickly transfer information from a presentation to other formats while maintaining the data structure.

Go to the Power Pivot window and select the "Insert" button on the main toolbar from any tab. This will allow you to add the necessary elements or data to your project. Use this feature to optimize your work with your data and improve your analysis in Power Pivot.

In the window that opens, enter the table name "Prices" and click "OK." This will create a table that will be used to display prices for goods or services. Make sure the table name clearly reflects its contents to make it easier to work with the data later.

A new "Pricing" tab has been added to Power Pivot, significantly expanding the tool's functionality. Users can now more easily manage and analyze pricing information, improving data processing and facilitating analytics-based decision-making. This new tab will be useful for specialists working with financial and commercial data.

When using the "copy and paste" method, the table does not update automatically when the source PowerPoint file changes. This is important to keep in mind to avoid data inconsistencies. To ensure that information is up-to-date, we recommend using linked objects or importing tables using specialized tools that automate the update process. This way, you can maintain synchronization between your table and the source file.
Data loaded from a database, text file, or Excel has the advantage of automatically updating when the source files change. In this article, we will cover the process of setting up automatic data updates from various sources.
To update data, on the main panel of any tab, click the "Refresh" button and select the "Refresh All" option. This process will allow you to synchronize and update information, providing access to the latest data.

When you open a window, you can track tab updates. In this example, this applies to the first three tabs.
Data updates quickly, typically within 10-15 seconds. Three tabs are updated during the process, one of which contains over 1.5 million rows of information. High update speed allows you to effectively manage large volumes of data, which is especially important for users and companies working with large amounts of information.
Updating a PowerPoint file requires manual actions.

Efficient Data Modeling in Power Pivot
After loading data from various sources into Power Pivot, we obtain four main tables: "Region Directory," "Sales," "Product Directory," and "Prices." These tables provide powerful capabilities for in-depth analysis and allow for efficient data processing. Using them, you can identify trends, conduct comparative analysis, and make informed decisions based on data.
At this stage, it is necessary to establish relationships between tables to ensure simultaneous data analysis across all columns. This will allow for more efficient processing and interpretation of information, which will significantly improve the quality of analysis and decision-making based on the obtained data. Linking tables also helps you better understand the relationships between different data sets and improves the overall structure of your database.
On the Power Pivot main tab, select the "Diagram View" button. This will visualize your data, making it much easier to analyze and interpret the information. Using Diagram View, you can easily identify relationships between tables and optimize the process of working with data in Power Pivot.

In this mode, each table is presented as a rectangle with listed columns that can be moved for ease of use. Relationships between tables are also configured, allowing you to optimize data interactions and improve their structure. This approach provides more intuitive information management and facilitates data analysis.
The "Sales" table contains a "City" column, but lacks the "Regions" and "District" columns. Information about regions and districts is contained in the "Regions" table. For complete data analysis and reporting, it is important to link these two tables to get a complete picture of sales across different regions.
To combine the data, you need to establish a relationship by the "City" column. To do this, select this column and drag it to the "Regions" table. As a result, a line will appear between the tables indicating the relationship.

The connection has been successfully established, and now each row in the "Sales" table contains information about the city, federal subject, and district. This will allow you to more effectively analyze sales data and identify trends at the regional level. The obtained data will help in making informed decisions to optimize sales and improve business processes.

The "Sales" table has a "Product" column, which contains book IDs. However, the book titles and formats are missing from this table. To obtain the missing information, you need to access the "Product Directory" table, which contains complete product data. This will allow you to link book IDs to their titles and formats, improving sales analysis and simplifying inventory management.
Establish a relationship between the "Product" column in the "Sales" table and the "Product ID" field in the "Product Directory" table. Please note that the column names may differ, but it is important that the data types are identical for the join to work.

Power Pivot does not validate the relationships established, so it is important to configure them carefully. Properly configuring relationships between tables is critical to ensuring accurate data analysis and producing correct reports. We recommend carefully checking all relationships to avoid errors in further data manipulation.
To create a third relationship, you need to add the prices stored in the "Prices" table, linking it to the "Product Catalog" table via the "Format" column. This will ensure that prices for the relevant products are displayed correctly, improving the data structure and simplifying information management.
This relationship provides price information in the Product Catalog table.

We've successfully combined four tables and established relationships between data across identical columns. Now the next step is to create a pivot table, which will allow you to effectively analyze and summarize the information obtained from the combined data. A pivot table will help you visualize your results and simplify the decision-making process based on the information you've collected.
On the main page, select the "Pivot Table" button.

Determine which sheet you need to create a pivot table on: a new one or an existing one.

After completing this step, a new sheet for creating a pivot table will open. The report area will be displayed on the left, and a panel with pivot table fields will be displayed on the right. This will allow you to easily customize and analyze data, creating convenient reports for further work.
The Pivot Table Fields panel is an interface containing a list of fields and areas, such as "Values," "Rows," "Columns," and "Filters." Each of these areas performs specific functions, allowing users to effectively organize and analyze data. The Values area lets you display numeric data, while the Rows and Columns areas help structure the information, providing easy access. The Filters area allows users to limit data, making analysis more focused and effective. Using the PivotTable Fields panel significantly simplifies the process of working with large volumes of information and helps quickly identify key trends and patterns.
To create a report, select the desired fields and move them to the appropriate areas. This will allow you to effectively organize the information and customize the report to your needs.
For more detailed information on setting up pivot tables, we recommend visiting the materials on the Skillbox Media website.
We will create a report showing the number of book sales in various regions of Russia, with a detailed breakdown by book format. This analysis will help you understand which formats are most popular in different regions, as well as identify trends and consumer preferences. This report will be useful for publishers and retailers looking to optimize their sales and marketing strategies.
We'll move the "County" and "Region" fields to the "Rows" area, the "Quantity" field to the "Values" area, and the "Format" field to the "Columns" area. This will allow us to organize the data more efficiently and simplify its analysis. Placing fields in the appropriate areas helps better visualize the information and simplifies the data processing. Using the correct field structure improves the usability of reports and allows you to get the desired results faster.
We've created a table that displays regions and counties vertically, and the number of books sold, broken down by format, horizontally. This format allows us to visually analyze book sales in different regions and identify reader preferences by publication type.
Reports can be created with varying levels of detail, including information on book titles and sales dates. This approach allows for deeper data analysis and identification of sales trends, which contributes to more effective assortment management and marketing strategies.
Excel and Google Sheets: 7 Steps to Mastery
Want to become a PRO in Excel and Google Sheets? Learn 7 key skills for work automation! Read the article.
Find out more
