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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
jlainez
Frequent Visitor

Necesito dos Jerarquias en mi Grafica

Buen dia amigos, me encuentro con un problema, actualmente tengo un grafico que necesita doble jerarquia:

1. por tipo de cliente y cultivo. Le quito la concatenación y los puedo ver ordenado de tal manera. Pero si se fijan las columnas no estan ordenadas jerarquicamente.

2. Columnas ordenadas jerarquicamente.

Ordenar por Precio Promedio.png

 

Cuando le doy que se ordene jerarquicamente por Precio Unitario se quita la primera vista y no me gusta lo que queda, ya que para mi lector tiene que leer los eje x para saber que Tipo de Cultivo es y que Cliente.

Ordenar por Precio Promedio 2.png

1 REPLY 1
lbendlin
Super User
Super User

@jlainez create a calculated column that has  a unique sort for your customer/crop hierarchy.  Let's say you have twelve crops and eight customers. Multiply the customer ID by 100 and add the crop ID.

 

Then put the calculated column in the visual tooltips, and sort the chart by it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.