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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
GAURAV7781
Helper III
Helper III

Mostrar total a nivel de celda en la matriz

Estimado Experinced uno

Tengo requisitos en he mostrado todas las columnas valor a nivel de celda

a.PNG

He probado dax medida como Calcular (Sum(Value),AllSelected(Dataset) que me está dando total general en todas las celdas, Por favor, ayuda

a continuación se muestra el conjunto de datos adjunto:

https://onedrive.live.com/embed?resid-3EC4F058F07E9D81%21119&authkey-%21ANzmpqgAazgCtjA&em-2&AllowTy...

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@GAURAV7781

Debe filtrar los Períodos para obtener el resultado esperado. Pruebe esta medida:

Measure = CALCULATE(SUM([Value]),FILTER(ALLSELECTED('Table'),[Period]=MAX([Period])))

V-pazhen-msft_0-1609987046382.png

V-pazhen-msft_1-1609987066743.png


Paul Zheng _ Equipo de apoyo de la comunidad
Si este post ayuda, por favor Acédárlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

@GAURAV7781

Debe filtrar los Períodos para obtener el resultado esperado. Pruebe esta medida:

Measure = CALCULATE(SUM([Value]),FILTER(ALLSELECTED('Table'),[Period]=MAX([Period])))

V-pazhen-msft_0-1609987046382.png

V-pazhen-msft_1-1609987066743.png


Paul Zheng _ Equipo de apoyo de la comunidad
Si este post ayuda, por favor Acédárlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

GAURAV7781
Helper III
Helper III

@amitchandak ¿Puedes ayudarme, por favor, en esto?

CNENFRNL
Community Champion
Community Champion

Hola, @GAURAV7781, es posible que desee ajustar su medida de esta manera,

CALCULATE ( SUM ( 'Dataset'[Value] ), ALLSELECTED( 'Dataset'[Brand] ) )


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

hi @CNENFRNL  when user selects Brand it shows 88 instead of 139

GAURAV7781_0-1609852970494.png

 

@GAURAV7781, si necesita una suma independientemente de cualquier filtro de marca, la medida es

CALCULATE ( SUM ( 'Dataset'[Value] ), ALL( 'Dataset'[Brand] ) )

Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

@GAURAV7781 , Pruebe una comprobación de esta medida

Creo que esto debería funcionar

Calcular (Sum(Dataset[Value]),AllSelected(Dataset)))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

i tried but but when i select brand this does not show column total

GAURAV7781_0-1609856239277.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.