Forum Discussion

BGHFlowserve's avatar
BGHFlowserve
New Member
6 years ago

Matrix help

I have data across multiple years. My matrix is currently set up like below:

2019                                                           2020

Linehaul     Fuel    Accessorials     Total      Linehaul     Fuel    Accessorials     Total    

 

I would prefer this new format if possible:

Linehaul           Accessorials         Fuel                 Total

2019   2020      2019   2020         2019   2020     2019   2020

 

Is there a way to do this?

5 Replies

  • BGHFlowserve why not on the column, first add your category column and then year column and drill down to the year level and it should work.

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

  • Hi BGHFlowserve ,

     

    In the fields section of matrix visualization, you currently seem to have Year(2019, 2020) field and then category(Linehaul, Fuel, Accessorials, Total) field in the Columns section.

     

    You just need to re-arrange them such that category field is above year field.

     

    Give a thumbs up if this post helped you in any way and mark this post as solution if it solved your query !!!

     

  • v-yingjl's avatar
    v-yingjl
    Community Support

    Hi BGHFlowserve ,

    Adjust the position in the column field, use 'expand all down one level in this hierarchy'

     

    Best Regards,
    Yingjie Li

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