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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Mostrar total sin filtro

Consulte la captura de pantalla a continuación, me gustaría eliminar "misceláneo" de la tabla, pero aún así mostrar la cantidad total real.

Por favor, hágamelo saber si esto es posible.

Esto es lo que tengo en Power BI

kusanagi_0-1704241622733.png

Y esto es lo que me gustaría que mostrara.

kusanagi_1-1704242078978.png

No sé cómo adjuntar archivo, así que pego mis medidas aquí

Total Qty = SUM('Table'[Qty])
Remove misc = CALCULATE(SUM('Table'[Qty]),'Table'[Product]<>"Misc")
% = DIVIDE([Remove misc],CALCULATE([Total Qty],ALL('Table'[Lot])))
2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@kusanagi ,

He creado una muestra simple, consúltela para ver si le ayuda.

Cree una medida.

RESULT = 
VAR _A =
    SUMX ( ALL ( 'Table' ), 'Table'[total qty] )
VAR _C =
    SUMX ( ALL ( 'Table' ), 'Table'[remove misc] )
VAR _b =
    SUMMARIZE ( 'Table', 'Table'[lot], "aaa", _A )
RETURN
    IF (
        HASONEVALUE ( 'Table'[lot] ),
        MAX ( 'Table'[total qty] ) / ( SUMX ( ALL ( 'Table' ), 'Table'[total qty] ) ),
        DIVIDE ( _C, _A )
    )

vrongtiepmsft_0-1704336939833.png

Cómo obtener respuestas rápidas a tu pregunta

Si no ayuda, proporcione más detalles con la salida deseada y el archivo pbix sin información de privacidad (o algunos datos de muestra).

Saludos
Equipo de apoyo a la comunidad _ Rongtie

Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Syndicate_Admin
Administrator
Administrator

Hola

Comparta el enlace de descarga del archivo PBI.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.