Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Ordenamiento en matriz por jerarquia

Hola,  Hay alguna manera de quitar la jerarquia de una matriz por que tengo en Filas 2 datos Distrito y Warehouse pero necesito que el primer dato (Distrito) este en la parte izquierda  y despues Warehouse  donde no se agrupe por distrito por que no toma el ordenamiento que quiero al agrupar primero Distrito  

1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @Anonymous ,

Hope your doing well.

 

In most pivot table tools (Excel, Power BI, etc.), when a hierarchical structure is created (here, District → Warehouse), the data is grouped by the first level (District) and then sorted within each group by the second level (Warehouse). However, sorting the entire table alphabetically by Warehouse while preserving the hierarchy is not supported directly because the hierarchy inherently enforces the grouping.

 

Can you thry this alternative but will make data more complex:

 

  • Remove the "District" hierarchy from the rows and include it as a column.
  • Now, you can sort the "Warehouse" column alphabetically across all rows.
  • The District information will remain visible but no longer group the data.

 

 

 

Thanks,

Prashanth Are

MS Fabric community support.

 

Did we answer your question? Mark post as a solution, this will help others!

If our response(s) assisted you in any way, don't forget to drop me a "Kudos"

View solution in original post

4 REPLIES 4
v-prasare
Community Support
Community Support

@Anonymous, As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by our super users for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @Anonymous ,

Hope your doing well.

 

In most pivot table tools (Excel, Power BI, etc.), when a hierarchical structure is created (here, District → Warehouse), the data is grouped by the first level (District) and then sorted within each group by the second level (Warehouse). However, sorting the entire table alphabetically by Warehouse while preserving the hierarchy is not supported directly because the hierarchy inherently enforces the grouping.

 

Can you thry this alternative but will make data more complex:

 

  • Remove the "District" hierarchy from the rows and include it as a column.
  • Now, you can sort the "Warehouse" column alphabetically across all rows.
  • The District information will remain visible but no longer group the data.

 

 

 

Thanks,

Prashanth Are

MS Fabric community support.

 

Did we answer your question? Mark post as a solution, this will help others!

If our response(s) assisted you in any way, don't forget to drop me a "Kudos"

Anonymous
Not applicable

Quiero que me ordene alfabeticamente todos los datos de Warehouse pero me agrupa  primero District, la condicion es mantener el orden  de izquierda a derecha en las filas District 1 Warehouse 2

KarenLCh_0-1738284619862.png

 

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.