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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wpf_
Post Prodigy
Post Prodigy

Jerarquía con valores diferentes para cada nivel

@lbendlin

Hola me ayudaste ayer con este post de ayer con campos de jerarquía:

https://community.powerbi.com/t5/Desktop/How-to-group-data-further-when-it-has-already-been-grouped/...

Cerré esa pregunta como resuelta porque la resolvió para los campos de jerarquía. Pero mirando con más detalle hoy, dio resultados no deseados, así que estoy abriendo una nueva pregunta aquí, esperando que usted o alguien más pueda ayudar. A pesar de que soy capaz de agrupar las ubicaciones de NY a EB y WB en la matriz ahora mediante la introducción de una nueva columna, donde mi tabla se ve así ahora:

table.PNG

Estaba promediando las velocidades para EB1, EB2, EB3, WB1, WB2 y WB3 de NY. Pero al usar EB y WB en el bucket de columnas de la matriz, las velocidades también se promedian. En realidad quería añadir las velocidades medias de cada uno: Por ejemplo:

EB - Avg(EB1 ) + Avg(EB2) + Avg(EB3). Y lo mismo ocurre con WB. ¿Cuál es la mejor manera de hacer esto? LA y SF estarán bien ya que sólo tienen dos direcciones. Gracias.

4 REPLIES 4

Hola @wpf_ ,

¿Se resolvió su problema?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Sí, cerraré esto. Gracias.

amitchandak
Super User
Super User

@wpf_ , consulte si esto puede ayudar a

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

¿Puede compartir datos de ejemplo y salida de ejemplo en formato de tabla?

@amitchandak

He creado un archivo pbix de ejemplo en una unidad. Aquí está el enlace:

https://1drv.ms/u/s!AkwCuDVUJER4gR6003JMfSUgPfls?e=BrECoU

Gracias.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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