Forum Discussion

PPalkowski's avatar
PPalkowski
Helper II
6 years ago
Solved

Duplicating Existing Excel Column Chart

We will be moving some of our reports to PowerBi from Excel and I am having problems duplicating the report shown below. I provided what the data source looks likes, the expected result, as well as how it was built in excel. Any help would be appreciated.

 

  • dax's avatar
    dax
    6 years ago

    Hi PPalkowski , 

    If you don't unpivot table, you couldn't get the result like you Excel. You might will  get result like below

    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

3 Replies

  • dax's avatar
    dax
    Community Support

    Hi PPalkowski , 

    You could unpivot your dataset(choose column except Month column, then click unpivot column in powerbi-> Edit Queries), then use it in PowerBI like below, you could refer to my sample(click Edit Queries->Advanced Editor to see the M code). To sort legend, you could use Month number instead of month name.

    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

    • PPalkowski's avatar
      PPalkowski
      Helper II

      Would it make a difference that the data isn't pivoted, that is the actual table.

      • dax's avatar
        dax
        Community Support

        Hi PPalkowski , 

        If you don't unpivot table, you couldn't get the result like you Excel. You might will  get result like below

        Best Regards,
        Zoe Zhi

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.