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
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
V-pazhen-msft
Community Support
Community Support

@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
V-pazhen-msft
Community Support
Community Support

@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)))

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

GAURAV7781_0-1609856239277.png

 

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.