Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
2 years ago

Womb

Good afternoon.

This is my first question, and I'm done here because I've been trying to recreate a table/matrix format for several days and I haven't been able to. My knowledge of the tool is basic and maybe my doubt is very silly (better, it is easy to solve it this way), but I still hope that they can help me.

I'm asked to recreate the following table (ppt image):

It's an example of what I want. Indicators and values are made up, don't take them into account.

To recreate this, I have the following table in excel:

The main thing here is that I have a column with the indicators to use in the table (either directly or those necessary to create new indicators from the ones I have, using measures I imagine), and the columns with the dates where I have values for each indicator.

I've been trying all this week to recreate the board, but there has been no way. What I really want is to be able to put as a column the indicators I want and in the order I want, and as the header of the table (apart from "indicators") the different dates that they ask me (year-end, quarter, previous year, although this one can't be done because I don't have values from the previous year). My problem has been that I am able to use the column of indicators as a column but it is difficult for me to put them in the order I would like, although I understand that it should be done with an auxiliary column as an index, and mainly, the values of each row, since when I included the values of "31/01/2020" the whole table was completed.

I hope you can help me, and I can explain my problem in detail.

Thanks a lot.

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Syndicate_Admin You need to use a Sort By column. Other than that, Sorry, having trouble following, can you post sample data as text and expected output?
    Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

    Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

    The most important parts are:
    1. Sample data as text, use the table tool in the editing bar
    2. Expected output from sample data
    3. Explanation in words of how to get from 1. to 2.

    • Syndicate_Admin's avatar
      Syndicate_Admin
      Administrator

      This would be my table, I changed the indicators because they were easier that way.

      YearEnterpriseIndicator31/01/202028/02/202031/03/202030/04/202031/05/202030/06/202031/07/202031/08/202030/09/202031/10/202030/11/202031/12/2020Index
      2022SonySales59912548503237257445690
      2022SonyCosts of services506994577868860453172671
      2022SonyOther61614052601793326173812
      2022SonyPersonal Costs381485132861577549260873
      2022SonyTransport costs4085597691537145146045684
      2022SonyGross Margin303292485814448265411645
      2022SonyEBITDA724990287010076883379266
      2022SonyEBIT 515176335277179881414937
      2022SonyEBT7463866988625894422908
      2022SonyTaxes63100812560867319266689
      2022SonyNet Income628770552631118015946910010
      2022SonyProvisions6127398746524864854629911
      2022SonyFinancial result9880703395725519399744

      12

      After some transformations, which in my opinion are convenient, the table in power BI would look like this:

      And the only decent array I manage to create in Power Bi would be this:

      But my intention is to have something more like this:

      But if I include the indicators in the rows section, I don't get the way I'd like.

      I have tried to put a copy of the table and establish a relationship between the two, so that I can have a column of indicators as I have in the original table without performing any transformation, and thus in the matrix I can have the column of indicators. I'd look something like this:

      But when I add the indicator values from either table, I don't get what I'm looking for. Additionally, I attach the data that indicates to me in the visualization panel, first the transformed table, and then the original table:

        

      I hope you can answer my question.