{"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-02-19T17:54:52","modified_gmt":"2026-02-19T16:54:52","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<div>\n  <table style=\"width:100%;border-collapse: collapse;border: 1px solid #ddd\">\n    <thead>\n      <tr style=\"background-color: #ff6745;color: #efefef\">\n        <th style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><strong><em>Name<\/em><\/strong><\/th>\n        <th style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><strong><em>First Name<\/em><\/strong><\/th>\n        <th style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><strong><em>Age<\/em><\/strong><\/th>\n        <th style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><strong><em>Profession<\/em><\/strong><\/th>\n      <\/tr>\n    <\/thead>\n    <tbody>\n      <tr>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>MOREAUX<\/em><\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>Antonin<\/em><\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>27<\/em><\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>Developer, Writer, Trainer<\/em><\/td>\n      <\/tr>\n      <tr>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>FELLOUS<\/em><\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>Aur\u00e9lia<\/em><\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\">&#8211;<\/td>\n        <td style=\"border: 1px solid #ddd;padding: 8px\" data-align=\"center\"><em>Head of Marketing<\/em><\/td>\n      <\/tr>\n    <\/tbody>\n  <\/table>\n<\/div>\n\n\n\n\n<div style=\"height:1px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi.png\" alt=\"\" style=\"object-fit:cover\" \/><\/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=\"h-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=\"h-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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi1.png\" alt=\"\" style=\"width:auto;height:150px\" \/><\/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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi2.png\" alt=\"\" \/><\/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<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p class=\"has-text-align-right\">&#8211; Sheets:<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-image alignleft size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi3.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p class=\"has-text-align-right\">&#8211; paintings :<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-image size-large is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi4.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/figure>\n<\/div>\n<\/div>\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\n\n\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\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Acquisition d&#039;un fichier Excel\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/F2D2iBS0m3Y?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi5.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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\n\n\n<li>The second column entry for modes of transportation.<\/li>\n\n\n\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:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Fichier Excel crois\u00e9\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/-NObnKxCF2Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi6.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi7.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi8.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi9.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi10.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi11.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi12.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi13.png\" alt=\"\" \/><\/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\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"D\u00e9pivotage d&#039;une table\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/9EedIgWHRac?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\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=\"h-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 is-resized\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi14.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-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\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Ins\u00e9rer un titre   une zone de texte\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/i3CVmNUV9O0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi15.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi16.png\" alt=\"\" \/><\/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\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Cr\u00e9er un segment textuel\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/39_dOY7MLqA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/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\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Cr\u00e9er un segment num\u00e9rique\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/eAMrARFr9bY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology\">&#8211; 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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi17.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>Choose the city:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi18.png\" alt=\"\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi19.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi20.png\" alt=\"\" \/><\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"business-intelligence\">&#8211; 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\n\n\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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi21.png\" alt=\"\" style=\"width:auto;height:400px\" \/><\/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=\"h-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 is-resized\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi22.png\" alt=\"\" style=\"width:1000px;height:auto\" \/><\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology\">&#8211; 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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi23.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi24.png\" alt=\"\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi25.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi26.png\" alt=\"\" \/><\/figure>\n\n\n\n<p><br><\/p>\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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi27.png\" alt=\"\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi28.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi29.png\" alt=\"\" \/><\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"business-intelligence\">&#8211; 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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi30.png\" alt=\"\" style=\"width:auto;height:250px\" \/><\/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=\"h-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 is-resized\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi31.png\" alt=\"\" style=\"width:auto;height:250px\" \/><\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"methodology\">&#8211; 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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi32.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi33.png\" alt=\"\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi34.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi35.png\" alt=\"\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-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\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi36.png\" alt=\"\" \/><\/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<h4 class=\"wp-block-heading\" id=\"methodology\">&#8211; 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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi37.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/figure>\n\n\n\n<p>then fill in the fields as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi38.png\" alt=\"\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi39.png\" alt=\"\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi40.png\" alt=\"\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-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 is-resized\" style=\"margin-top:var(--wp--preset--spacing--columns);margin-bottom:var(--wp--preset--spacing--columns)\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi41.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/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 is-resized\"><img decoding=\"async\" src=\"https:\/\/liora.io\/app\/uploads\/sites\/9\/2023\/09\/tableau-croise-powerbi42.png\" alt=\"\" style=\"width:auto;height:100px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-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<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><a href=\"https:\/\/liora.io\/en\/dax-power-bi-all-about-the-query-programming-language\" target=\"_blank\" rel=\"noopener\">DAX Power BI: all about the query programming language<\/a><\/td><\/tr><tr><td><a href=\"https:\/\/liora.io\/en\/power-bi-direct-query-all-you-need-to-know-about-this-data-query-method\" target=\"_blank\" rel=\"noopener\">Power BI Direct Query: All you need to know about this data query method<\/a><\/td><\/tr><tr><td><a href=\"https:\/\/liora.io\/en\/power-bi-desktop-download-and-installation-guide\" target=\"_blank\" rel=\"noopener\">Power BI Desktop download and installation guide I Liora<\/a><\/td><\/tr><tr><td><a href=\"https:\/\/liora.io\/en\/power-bi-time-intelligence-everything-you-need-to-know-about-these-dax-functions\" target=\"_blank\" rel=\"noopener\">Power BI Time Intelligence: Everything you need to know about these DAX functions<\/a><\/td><\/tr><tr><td><a href=\"https:\/\/liora.io\/en\/power-bi-report-builder-what-is-it-how-do-i-use-it\" target=\"_blank\" rel=\"noopener\">Power BI Report Builder: What is it? How do I use it?<\/a><\/td><\/tr><tr><td><a href=\"https:\/\/liora.io\/en\/incremental-update-power-bi-all-you-need-to-know\" target=\"_blank\" rel=\"noopener\">Incremental Update<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex is-content-justification-center\">\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","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":4,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/171358\/revisions"}],"predecessor-version":[{"id":207666,"href":"https:\/\/liora.io\/en\/wp-json\/wp\/v2\/posts\/171358\/revisions\/207666"}],"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}]}}