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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
NiugeS
Helper V
Helper V

Total de todos los valores secundarios

Hola a todos

Nuevo en Power BI y luchando con algo probablemente bastante fácil. He importado datos de un excel de la siguiente manera:

UsuarioCantidadGrupo
A101
B121
C142
C122
B221
A2341
D242
D22
C7

1

Pero merodeando para crear un gráfico visual de la siguiente manera:

UsuarioCantidadGrupoTotal del grupo
A101285
B121285
C14252
C12252
B221285
A2341285
D24252
D2252
C71285

No estoy seguro de qué buscar, pero apreciacualquier ayuda.


Gracias

1 ACCEPTED SOLUTION

OK, literalmente pasé 10 veces más buscando ese post en lugar de simplemente hacer esto:


Medida ?
VAR __Group á MAX('Tabla'[Grupo])
devolución
SUMX(FILTER(ALL('Table'),'Table'[Group] -__Group),'Table'[Amount])

PBIX está unido. Lo siento, la próxima vez en lugar de tratar de referirte a un problema similar, ¡voy a resolver la cosa! 🙂 PBIX se adjunta a continuación.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
v-xuding-msft
Community Support
Community Support

Hola @NiugeS ,

Por favor, intente esto:

Measure = 
CALCULATE (
    SUM ( 'Table'[Amount] ),
    FILTER ( ALL ( 'Table' ), 'Table'[Group] = MAX ( 'Table'[Group] ) )
)

Si también necesita mostrar el valor total, intente esto:

Total Measure = SUMX('Table',[Measure])

4.PNG

Saludos

Xue Ding

Si este post Ayuda, entonces por favor considereAcéptelo como la soluciónpara ayudar a los otros miembros a encontrarlo más rápidamente.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Literalmente respondí a una pregunta muy similar. A ver si este hilo ayuda, último post de la mía:
https://community.powerbi.com/t5/Desktop/how-to-check-for-ID-s-with-change-in-status-category-from-l...


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Gracias - acaba de descargar el archivo pbix de la otra publicación y tratando de resolverlo. Gracias.

Claro, @NiugeS hágamelo saber si necesita más ayuda, pero pensé que era la forma más rápida de ayudar.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Gracias @Greg_Deckler - No puedo decir que sigo .. Lo siento, nuevo para Dax, pero tratando de averiguarlo. No estoy seguro de si los números negativos están causando problemas, pero tratará de figrue out.. Gracias

OK, literalmente pasé 10 veces más buscando ese post en lugar de simplemente hacer esto:


Medida ?
VAR __Group á MAX('Tabla'[Grupo])
devolución
SUMX(FILTER(ALL('Table'),'Table'[Group] -__Group),'Table'[Amount])

PBIX está unido. Lo siento, la próxima vez en lugar de tratar de referirte a un problema similar, ¡voy a resolver la cosa! 🙂 PBIX se adjunta a continuación.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Bueno, primero, ayudaría si te enviara al hilo correcto: https://community.powerbi.com/t5/Desktop/Use-slicer-to-filter-by-another-column/m-p/1025543

Aguanta, intentaré prepararte un PBIX.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
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.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors