{"id":171358,"date":"2023-08-03T12:43:02","date_gmt":"2023-08-03T11:43:02","guid":{"rendered":"https:\/\/liora.io\/en\/?p=171358"},"modified":"2026-08-09T20:32:14","modified_gmt":"2026-08-09T19:32:14","slug":"excel-to-power-bi-how-to-transform-a-pivot-table-in-excel-into-a-dataset-that-can-be-used-by-power-bi","status":"publish","type":"post","link":"https:\/\/liora.io\/en\/excel-to-power-bi-how-to-transform-a-pivot-table-in-excel-into-a-dataset-that-can-be-used-by-power-bi","title":{"rendered":"Excel to Power BI: how to transform a pivot table in Excel into a dataset that can be used by Power BI?"},"content":{"rendered":"\n<p><strong>Do you want to leverage data with Power BI, especially from your Excel files? Check out our tutorial on how to transform pivot tables into actionable datasets.<\/strong><\/p>\n\n\n\n<p>When you want to <a href=\"https:\/\/liora.io\/en\/power-bi-microsofts-business-intelligence-solution\">work with data in Power BI<\/a>, you have various options for your data sources. Among them is the ability to work with your Excel files, making it easier to automate and exploit the data within them.<\/p>\n\n\n\n<p>However, often the format of your data in the spreadsheet is not suitable for <a href=\"https:\/\/liora.io\/en\/excel-vs-power-bi-what-are-the-differences\">direct use in Power BI<\/a>. Indeed, Microsoft&#8217;s Business Intelligence software only accepts data stored in the form of tables. This terminology refers to data organized in the form of tables, where columns represent categories of information (phone number, date, time, text, integer\/decimal numbers, etc.), and rows represent data records or entries.<\/p>\n\n\n\n<p>Ex :<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table>\n<thead>\n<tr>\n<th data-align=\"center\"><strong><em>Name<\/em><\/strong><\/th>\n<th data-align=\"center\"><strong><em>First Name<\/em><\/strong><\/th>\n<th data-align=\"center\"><strong><em>Age<\/em><\/strong><\/th>\n<th data-align=\"center\"><strong><em>Profession<\/em><\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-align=\"center\"><em>MOREAUX<\/em><\/td>\n<td data-align=\"center\"><em>Antonin<\/em><\/td>\n<td data-align=\"center\"><em>27<\/em><\/td>\n<td data-align=\"center\"><em>Developer, Writer, Trainer<\/em><\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\"><em>FELLOUS<\/em><\/td>\n<td data-align=\"center\"><em>Aur\u00e9lia<\/em><\/td>\n<td data-align=\"center\">&#45;<\/td>\n<td data-align=\"center\"><em>Head of Marketing<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p>However, this data organization method is not always the most visual. Many Excel users prefer to organize their tables in their own way. As soon as this data needs to be used to create dashboards, it quickly becomes challenging to utilize these resources.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:550px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for Acquisition of an Excel file\" decoding=\"async\" height=\"255\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi.png\" style=\"width:550px;max-width:100%;height:auto\" width=\"550\"\/><\/figure>\n\n\n\n<p>In this article, we will detail the acquisition and transformation of an Excel file in the form of a &#8220;pivot table&#8221; before using its data to create a complete dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"acquisition-of-an-excel-file\">Acquisition of an Excel file<\/h2>\n\n\n\n<p>As mentioned above, Power BI accepts various data sources, including the spreadsheet software from the same creator: Microsoft Excel. In this section, we will see how to load an Excel file into Power BI.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-loading-a-new-data-source\">1. Loading a new data source<\/h3>\n\n\n\n<p>In the &#8220;Home&#8221; tab, you will find the following tools:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:311px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 1. Loading a new data source\" decoding=\"async\" height=\"81\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi1.png\" style=\"width:311px;max-width:100%;height:auto\" width=\"311\"\/><\/figure>\n\n\n\n<p>Click on &#8220;Excel Workbook,&#8221; and your file explorer will open. From there, you can select the file you want to use.<\/p>\n\n\n\n<p>Once you&#8217;ve done that, a new contextual menu will appear:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:503px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 1. Loading a new data source\" decoding=\"async\" height=\"400\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi2.png\" style=\"width:503px;max-width:100%;height:auto\" width=\"503\"\/><\/figure>\n\n\n\n<p>This menu allows you to select the item you want to interact with. With Excel, Power BI recognizes sheets as well as tables declared in Excel. You can differentiate these elements through the associated logos:<\/p>\n\n\n\n<p class=\"has-text-align-right\">&#45; Sheets:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:25px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 1. Loading a new data source\" decoding=\"async\" height=\"22\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi3.png\" style=\"width:25px;max-width:100%;height:auto\" width=\"25\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-right\">&#45; paintings :<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:26px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 1. Loading a new data source\" decoding=\"async\" height=\"22\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi4.png\" style=\"width:26px;max-width:100%;height:auto\" width=\"26\"\/><\/figure>\n\n\n\n<p>Bear in mind that if you select a sheet, Power BI will load all the data present, not just the selected table.<\/p>\n\n\n\n<p>Once you&#8217;ve selected the desired item, you have two options:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Load the data <a href=\"https:\/\/liora.io\/en\/power-bi-desktop-download-and-installation-guide\">directly into Power BI Desktop<\/a> and start creating visuals.<\/li>\n<li>Transform your data using Microsoft&#8217;s data transformation engine, Power Query.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video F2D2iBS0m3Y\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/F2D2iBS0m3Y?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-transformations-with-power-query\">2. Transformations with Power Query<\/h3>\n\n\n\n<p>In this article, we will explore this second option through an example of a pivot table created in Excel. Pivot tables are widely used because they allow for quick and easy reading of data, with entries arranged in rows and columns.<\/p>\n\n\n\n<p>In the example below, we have a table that stores data about modes of transportation in major French cities over time.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:698px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"94\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi5.png\" style=\"width:698px;max-width:100%;height:auto\" width=\"698\"\/><\/figure>\n\n\n\n<p>In this type of table, users can read the data with multiple entries:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first column entry for city names.<\/li>\n<li>The second column entry for modes of transportation.<\/li>\n<li>The third row entry for the years in question.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video -NObnKxCF2Q\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/-NObnKxCF2Q?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<p>But Power BI cannot utilize data presented in this way. To make this table format usable, several transformations need to be performed using Power Query.<\/p>\n\n\n\n<p>Indeed, Power BI loads the data in the following format:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"174\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi6.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<p>This data format is not suitable and must be adapted using the following list of transformations:<\/p>\n\n\n\n<p>First, you need to unpivot the table once using the &#8220;Transpose&#8221; tool.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"355\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi7.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>then, use the &#8220;Fill Down&#8221; command.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"421\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi8.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>to use the first row of the table as headers, we use the &#8220;Use First Row As Headers&#8221; tool.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"405\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi9.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>we rename our columns to make them easier to work with.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"404\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi10.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>we once again remove the pivot table by selecting the correctly formatted columns (City and Mode) and using the &#8220;Unpivot Other Columns&#8221; tool.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"481\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi11.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>we then detect the data type by selecting the entire table and using the &#8220;Detect data type&#8221; tool. This enables us to detect numerical data, and thus perform mathematical operations on this data.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"194\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi12.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<p>The data is now ready to be used in Power BI Desktop. We can then use the &#8220;Close &amp; Apply&#8221; command:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:97px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 2. Transformations with Power Query\" decoding=\"async\" height=\"134\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi13.png\" style=\"width:97px;max-width:100%;height:auto\" width=\"97\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video 9EedIgWHRac\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/9EedIgWHRac?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex is-content-justification-center wp-container-core-buttons-is-layout-5ee10de4\" style=\"margin-top:32px;margin-bottom:32px\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/liora.io\/en\/courses\/data-ai\/power-bi\">Power BI Training<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-visuals-in-power-bi-desktop\">Creating visuals in Power BI Desktop<\/h2>\n\n\n\n<p>In Power BI Desktop, you have the ability to create visuals very easily. In this section, we will detail the process of creating the visuals for the dashboard presented below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:602px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for Creating visuals in Power BI Desktop\" decoding=\"async\" height=\"337\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi14.png\" style=\"width:602px;max-width:100%;height:auto\" width=\"602\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-the-title\">1. The title<\/h3>\n\n\n\n<p>To optimize the user experience, every dashboard should include a simple, unambiguous title that relates to the developed visuals. The title should allow users to immediately understand the context of the dashboard.<\/p>\n\n\n\n<p>In terms of methodology, I use the &#8220;Text Box&#8221; tool in the &#8220;Insert&#8221; tab. I then format it as needed for the users.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video i3CVmNUV9O0\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/i3CVmNUV9O0?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-segments\">2. Segments<\/h3>\n\n\n\n<p>In Power BI, segments are tools that enable you to filter the data you display, according to different criteria:<\/p>\n\n\n\n<p>textual (city or country names, product group, team name, etc.) ;<br\/>numerical and chronological (between, after, before, etc.).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:290px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 2. Segments\" decoding=\"async\" height=\"283\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi15.png\" style=\"width:290px;max-width:100%;height:auto\" width=\"290\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:293px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 2. Segments\" decoding=\"async\" height=\"264\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi16.png\" style=\"width:293px;max-width:100%;height:auto\" width=\"293\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video 39_dOY7MLqA\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/39_dOY7MLqA?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\" style=\"margin-top:32px;margin-bottom:32px\"><div class=\"wp-block-embed__wrapper\" style=\"position:relative;width:100%;padding-top:56.25%;overflow:hidden\"><iframe loading=\"lazy\" title=\"YouTube video eAMrARFr9bY\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/eAMrARFr9bY?rel=0\" style=\"position:absolute;inset:0;width:100%;height:100%;border:0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology\">&#45; Methodology<\/h4>\n\n\n\n<p>To create a segment, click on the visual &#8220;Segment&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:58px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"53\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi17.png\" style=\"width:58px;max-width:100%;height:auto\" width=\"58\"\/><\/figure>\n\n\n\n<p>Choose the city:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:225px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"89\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi18.png\" style=\"width:225px;max-width:100%;height:auto\" width=\"225\"\/><\/figure>\n\n\n\n<p>You can then customize the shape and functionality of the segment as you wish, thanks to the <strong>&#8220;Visual format&#8221;<\/strong> pane:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:328px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"337\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi19.png\" style=\"width:328px;max-width:100%;height:auto\" width=\"328\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:331px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"444\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi20.png\" style=\"width:331px;max-width:100%;height:auto\" width=\"331\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"business-intelligence\">&#45; Business Intelligence<\/h4>\n\n\n\n<p>In Business Intelligence, the notion of filtering refers to the action of a field or table on a set of data or measures.<\/p>\n\n\n\n<p>In Power BI, if you use a segment to filter your data, the field applied to it will need to be chosen carefully. A field can filter:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>data from the table to which it belongs;<\/li>\n<li>the data of the table(s) located on the <strong>&#8220;several&#8221;<\/strong> side of a <strong>&#8220;one-to-many&#8221;<\/strong> relationship (the filter field is on the <strong>&#8220;one&#8221;<\/strong> side of the <strong>&#8220;one-to-many<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:276px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Business Intelligence\" decoding=\"async\" height=\"200\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi21.png\" style=\"width:276px;max-width:100%;height:auto\" width=\"276\"\/><\/figure>\n\n\n\n<p>In the example below, fields in the <strong>Product<\/strong> table can filter the <strong>Sales<\/strong> table combined.<\/p>\n\n\n\n<p>Thus, the cities segment can filter cities displayed on other visuals.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-the-matrix\">3. The matrix<\/h3>\n\n\n\n<p>Dans Power BI, le visuel matrice permet de repr\u00e9senter des donn\u00e9es en fonction de cat\u00e9gories communes, en lignes et en colonne. Dans notre exemple, les ann\u00e9es sont r\u00e9sum\u00e9es en en-t\u00eates de cat\u00e9gorie de colonnes, d\u00e9clin\u00e9es ensuite entre les diff\u00e9rentes villes. En ligne, nous retrouvons les diff\u00e9rents modes de transport.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for 3. The matrix\" decoding=\"async\" height=\"158\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi22.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology-2\">&#45; Methodology<\/h4>\n\n\n\n<p>To create your matrix, click on the &#8220;matrix&#8221; visual<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:49px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"37\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi23.png\" style=\"width:49px;max-width:100%;height:auto\" width=\"49\"\/><\/figure>\n\n\n\n<p>then drag and drop the various fields as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:328px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"440\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi24.png\" style=\"width:328px;max-width:100%;height:auto\" width=\"328\"\/><\/figure>\n\n\n\n<p>You can then move up the hierarchy you&#8217;ve created: each year includes data for several cities.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:501px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"184\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi25.png\" style=\"width:501px;max-width:100%;height:auto\" width=\"501\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:32px;margin-bottom:32px\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"144\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi26.png\" style=\"width:100%;height:auto\" width=\"753\"\/><\/figure>\n\n\n\n<p>using the tools at the top right of the display<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:224px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"45\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi27.png\" style=\"width:224px;max-width:100%;height:auto\" width=\"224\"\/><\/figure>\n\n\n\n<p>In the &#8220;Design your visual&#8221; area, you&#8217;ll have access to a wide range of customization options for your visual.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:174px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"486\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi28.png\" style=\"width:174px;max-width:100%;height:auto\" width=\"174\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:189px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"259\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi29.png\" style=\"width:189px;max-width:100%;height:auto\" width=\"189\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"business-intelligence-2\">&#45; Business Intelligence<\/h4>\n\n\n\n<p><a href=\"https:\/\/liora.io\/en\/power-bi-time-intelligence-everything-you-need-to-know-about-these-dax-functions\">Power BI&#8217;s matrix visuals<\/a> are reminiscent of Excel&#8217;s pivot table tool. Indeed, they are functionally oriented in the same way: grouping data by category, and aggregating them according to the desired calculation.<\/p>\n\n\n\n<p>The major difference lies in what you can decide to represent in the matrix. In Excel, you can aggregate your data according to the classic calculation modes:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:82px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Business Intelligence\" decoding=\"async\" height=\"151\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi30.png\" style=\"width:82px;max-width:100%;height:auto\" width=\"82\"\/><\/figure>\n\n\n\n<p>But in Power BI, you can represent your measurements in a matrix. As a result, the calculation possibilities are infinite, and no longer limited to conventional mathematical operations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-grouped-histograms\">4. Grouped histograms<\/h3>\n\n\n\n<p>Histograms are one of the great classics of visual data representation. Who hasn&#8217;t represented a quantity organized by class on a histogram?<\/p>\n\n\n\n<p>In our example, we represent the total for each mode of transport, classified by city. This visualization enables us to compare different values quickly and visually.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:392px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 4. Grouped histograms\" decoding=\"async\" height=\"149\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi31.png\" style=\"width:392px;max-width:100%;height:auto\" width=\"392\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology-3\">&#45; Methodology<\/h4>\n\n\n\n<p>To create your grouped histogram visual, click on its logo<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:30px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"30\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi32.png\" style=\"width:30px;max-width:100%;height:auto\" width=\"30\"\/><\/figure>\n\n\n\n<p>then fill in the various fields as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:211px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"201\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi33.png\" style=\"width:211px;max-width:100%;height:auto\" width=\"211\"\/><\/figure>\n\n\n\n<p>You can then customize the various visual options as you wish in the &#8220;Shape your visual&#8221; section:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:156px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"301\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi34.png\" style=\"width:156px;max-width:100%;height:auto\" width=\"156\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:190px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"230\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi35.png\" style=\"width:190px;max-width:100%;height:auto\" width=\"190\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-curve-graphics\">5. Curve graphics<\/h3>\n\n\n\n<p>Like histograms, curve graphs are among the most widely used graphs. And for good reason: they&#8217;re the best way of representing the evolution of a quantity as a function of time.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:602px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for 5. Curve graphics\" decoding=\"async\" height=\"246\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi36.png\" style=\"width:602px;max-width:100%;height:auto\" width=\"602\"\/><\/figure>\n\n\n\n<p>In our example, we show the evolution of the total for each mode of transport (all cities combined) as a function of time. This graph allows us to visualize the temporal evolution of our quantity, and thus to analyze the behavior of the population studied.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology-4\">&#45; Methodology<\/h4>\n\n\n\n<p>To create your curve graph, select its symbol<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:26px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"25\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi37.png\" style=\"width:26px;max-width:100%;height:auto\" width=\"26\"\/><\/figure>\n\n\n\n<p>then fill in the fields as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:178px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"192\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi38.png\" style=\"width:178px;max-width:100%;height:auto\" width=\"178\"\/><\/figure>\n\n\n\n<p>You can then customize the various visual options as you wish in the &#8220;Shape your visual&#8221; section:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:159px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"383\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi39.png\" style=\"width:159px;max-width:100%;height:auto\" width=\"159\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:187px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for - Methodology\" decoding=\"async\" height=\"228\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi40.png\" style=\"width:187px;max-width:100%;height:auto\" width=\"187\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"interaction-between-visuals\">Interaction between visuals<\/h2>\n\n\n\n<p>The great <a href=\"https:\/\/liora.io\/en\/tutorial-power-bi-learn-how-to-use-the-bi-tool-by-microsoft\">strength of Power BI<\/a> is undoubtedly the interactivity between dashboard visuals. Indeed, clicking on a graphical element will act as a filter on the selected data. This is particularly useful when you want to delve deeper into your data, and isolate certain characteristics.<\/p>\n\n\n\n<p>To modify this feature, and decorrelate visuals from one another, select the element on which you wish to act.<\/p>\n\n\n\n<p>Then go to the &#8220;Format&#8221; ribbon, &#8220;Modify interactions&#8221;, and click on the item below to disconnect the desired visual.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:27px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for Interaction between visuals\" decoding=\"async\" height=\"27\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi41.png\" style=\"width:27px;max-width:100%;height:auto\" width=\"27\"\/><\/figure>\n\n\n\n<p>or the item below to reconstruct the link between the elements.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\" style=\"width:31px;max-width:100%;margin-top:32px;margin-right:auto;margin-bottom:32px;margin-left:auto\"><img alt=\"Illustration for Interaction between visuals\" decoding=\"async\" height=\"25\" loading=\"lazy\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi42.png\" style=\"width:31px;max-width:100%;height:auto\" width=\"31\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Acquiring, transforming and representing data has never been easier than with Power BI. Microsoft&#8217;s Power BI software is versatile, intuitive and allows you to go a long way in analyzing your data.<\/p>\n\n\n\n<p>In this article, we focus on one of the most common transformations: the de-ivisioning of a pivot table. These are commonplace in Excel spreadsheets, thanks to the readability they provide. Once transformed and tabulated, the data can be used to create visuals and an entire dashboard. Power BI lets you interact with all the visual elements of your report.<\/p>\n\n\n\n<p>If you&#8217;d like to deepen your knowledge of Power BI and obtain certification, we invite you to take the Liora training course or read these related articles?:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/liora.io\/en\/dax-power-bi-all-about-the-query-programming-language\" rel=\"noopener\" target=\"_blank\">DAX Power BI: all about the query programming language<\/a><\/li><li><a href=\"https:\/\/liora.io\/en\/power-bi-direct-query-all-you-need-to-know-about-this-data-query-method\" rel=\"noopener\" target=\"_blank\">Power BI Direct Query: All you need to know about this data query method<\/a><\/li><li><a href=\"https:\/\/liora.io\/en\/power-bi-desktop-download-and-installation-guide\" rel=\"noopener\" target=\"_blank\">Power BI Desktop download and installation guide I Liora<\/a><\/li><li><a href=\"https:\/\/liora.io\/en\/power-bi-time-intelligence-everything-you-need-to-know-about-these-dax-functions\" rel=\"noopener\" target=\"_blank\">Power BI Time Intelligence: Everything you need to know about these DAX functions<\/a><\/li><li><a href=\"https:\/\/liora.io\/en\/power-bi-report-builder-what-is-it-how-do-i-use-it\" rel=\"noopener\" target=\"_blank\">Power BI Report Builder: What is it? How do I use it?<\/a><\/li><li><a href=\"https:\/\/liora.io\/en\/incremental-update-power-bi-all-you-need-to-know\" rel=\"noopener\" target=\"_blank\">Incremental Update<\/a><\/li><\/ul>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex is-content-justification-center wp-container-core-buttons-is-layout-5ee10de4\" style=\"margin-top:32px;margin-bottom:32px\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/liora.io\/en\/courses\/data-ai\/power-bi\">Power BI Training<\/a><\/div>\n<\/div>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"How do I load an Excel file into Power BI?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"In Power BI, go to the 'Home' tab, select 'Excel Workbook', and choose the file from your file explorer. You can then select the data to load directly or use Power Query for transformations.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is Power Query in Power BI?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Power Query is a data transformation tool in Power BI that allows users to clean and transform data from various sources before loading it into Power BI for analysis.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"How do I transform a pivot table into a usable dataset in Power BI?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"To transform a pivot table, you can use Power Query to unpivot the data, converting the columns into rows, making the data structure more suitable for analysis in Power BI.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Why is Power BI better than Excel for creating dashboards?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Power BI is designed for creating interactive and dynamic dashboards with data visualizations, making it more suitable for large-scale data analysis and business intelligence than Excel.\"\n      }\n    }\n  ]\n}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Do you want to leverage data with Power BI, especially from your Excel files? Check out our tutorial on how to transform pivot tables into actionable datasets.<\/p>\n","protected":false},"author":50,"featured_media":171360,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"editor_notices":[],"footnotes":""},"categories":[2433],"class_list":["post-171358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-ai"],"acf":[],"_links":{"self":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/171358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/comments?post=171358"}],"version-history":[{"count":5,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/171358\/revisions"}],"predecessor-version":[{"id":211249,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/171358\/revisions\/211249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/media\/171360"}],"wp:attachment":[{"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/media?parent=171358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/categories?post=171358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}