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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

SUMA DE TODOS LOS VALORES MÍNIMOS POR CATEGORÍA

Hola

Quería sumar todos los valores mínimos (si hay más de un valor mínimo) dentro de la misma categoría.

Supongamos que estos son los datos:

SIMMI_2-1667311989424.png

Este es el resultado deseado.

SIMMI_1-1667311968210.png

Soy nuevo en PowerBi. Probé algunas medidas rápidas y edité el código DAX, pero no pude obtener esta salida. ¿Hay alguna manera de lograr esto?

Gracias de antemano.

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@SIMMI

Puede probar esto para crear una medida

Measure = 
VAR TBL=ADDCOLUMNS('Table',"RANK",RANKX(FILTER('Table','Table'[category]=EARLIER('Table'[category])),'Table'[value],,ASC))
return sumx(FILTER(TBL,[RANK]=1),'Table'[value])

1.PNG

Muchas gracias. Esto funcionó bien 😀

De nada

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors