Forum Discussion

powerbiexpert22's avatar
powerbiexpert22
Icon for Impactful Individual rankImpactful Individual
4 months ago
Solved

Table with dynamic grouping of rows

how to create below table in power with rows are grouped dynamically based on categories such as "Strategy & Protcol" and "Regulatory" etc  as shown in below example     
  • wardy912's avatar
    4 months ago

    Hi powerbiexpert22 

     

     Use a matrix visual, ensure that your data groups the items accordingly.

    e.g. you have a column that identifies level1 grouping and level2 items.

     

    Add both items to rows and expand all

    --------------------------------

    I hope this helps, please give kudos and mark as solved if it does!

     

    Connect with me on LinkedIn.

    Subscribe to my YouTube channel for Fabric/Power Platform related content!

     

  • danextian's avatar
    4 months ago

    Power BI doesn't have an option to group rows in a table visual, so all rows are displayed in a flat structure. A matrix visual can partially achieve the layout you're after, but each field added to the row hierarchy is displayed on a new indented level rather than on the same row as the preceding field. Any remaining values would need to be added as measures, which is limiting because measures require aggregation and therefore can't display individual, distinct row values.