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
Syndicate_Admin
Administrator
Administrator

¿Cómo hacer que la Tabla 1 y 2 muestren 7?

Hola a todos

Tengo a continuación la expresión, de @parry2k si no recuerdo mal :-

Límite de la empresa de rango 100k =
SUMX (
RESUMIR (
VENTAS,
VENTAS[FUENTE],
VENTAS[Nombre del cliente],
"@Sales", [VENTAS YTD SGD] Reemplace SALES_T con la medida que desea comprobar
),
SI ( [@Sales] > 100000, 1 )
)

funciona bien en la Tabla 2, que muestra el Total 7. lo cual es correcto.

admin11_0-1642374783603.png

Pero para la Tabla 1 ahora muestra la cantidad total = 8, lo cual es incorrecto. debe mostrar 7.

admin11_1-1642374826736.png

¿Puedo saber cómo hacer que se muestre 7

Mi archivo de muestra PBI :-

https://www.dropbox.com/s/genrofcsrwoolw3/HOW%20TO%20MAKE%20TABLW%201%20AND%202%20DISPLAY%207%20pERR...

Mi archivo PBI :-

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@admin11 , Prueba como

Rank Company Limit 100k = 
SUMX ( 
    addcolumns( SUMMARIZE ( 
        SALES,
        SALES[SOURCE], 
        SALES[Customer Name]), 
        "@Sales", [SALES YTD SGD] //replace SALES_T with the measure you want to check 
    ), 
    IF ( [@Sales] > 100000, 1 ) 
)

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@admin11 , Prueba como

Rank Company Limit 100k = 
SUMX ( 
    addcolumns( SUMMARIZE ( 
        SALES,
        SALES[SOURCE], 
        SALES[Customer Name]), 
        "@Sales", [SALES YTD SGD] //replace SALES_T with the measure you want to check 
    ), 
    IF ( [@Sales] > 100000, 1 ) 
)

@amitchandak

wow tu habilidad sigue mejorando mucho. porque pones mucho esfuerzo.

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.