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
mahendi
Helper I
Helper I

subtotal en blanco para el total en ejecución en la matriz

Tengo la siguiente matriz y tabla, el subotal falta en los totales en ejecución donde la categoría está vacía.

mahendi_0-1606258526545.png

CategoríaSubcategoríaSubcategoría 2CantidadFecha
11.11.1.1101/01/20
11.21.2.1101/02/20
11.31.3.1101/03/20
11.11.1.2101/04/20
11.21.2.2101/05/20
11.31.3.2101/06/20
22.12.1.1101/06/20
22.12.1.2101/05/20
22.22.2.2101/04/20
22.22.2.1101/03/20
22.32.3.1101/02/20

Usé una medida rápida para correr total -

Importe total en ejecución en La categoría ?
CALCULATE(
SUM('Sheet1'[Amount]),
FILTRO(
ALLSELECTED('Sheet1'[Categoría]),
ISONORAFTER('Sheet1'[Category], MAX('Sheet1'[Category]), DESC)
)
)
¿Hay alguna manera de mostrar el total en ejecución en el subtotal donde la categoría no tiene valores?

4 REPLIES 4
mahoneypat
Employee
Employee

Agregué algunas filas de febrero solo para Cat 1 a los datos de ejemplo para reproducir el problema. Tu medida funcionó bien para mí cuando lo hice. ¿Es este el comportamiento necesario?

mahoneypat_0-1606316284134.png

saludos

palmadita





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


@mahoneypat El total está ahí, pero el subtotal sigue desaparecido incluso en su mesa.

example.jpg

mahoneypat
Employee
Employee

Por favor, pruebe esta expresión. Hace referencia a la medida existente, pero debe reemplazarla en el objeto visual.

NewMeasure á SUMX(VALUES('Sheet1'[Category]), [Importe total en ejecución en categoría])

saludos

palmadita





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


@mahoneypat pena que no haya funcionado

no llena el sub total en blanco y también ha reemplazado el total de ejecución por la categoría total

mahendi_0-1606270853512.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.