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

Recuperar texto basado en el valor máximo

Hola

¿Cómo recupero el nombre del artículo en función del número más alto de clientes? Por ejemplo: el número más alto de clientes es 78, ¿cómo puedo recuperar el arroz?

yewling1201_0-1650702097867.png

¡Gracias!

2 ACCEPTED SOLUTIONS
Syndicate_Admin
Administrator
Administrator

@yewling1201 ,

Por favor, pruebe la siguiente medida: -

Measure = 
var _max_cust = CALCULATE(MAX('Table'[# of customers]),ALL('Table'[# of customers]))
return CALCULATE(MAX('Table'[Item]),FILTER('Table','Table'[# of customers] = _max_cust))

BR

Samarth

View solution in original post

Syndicate_Admin
Administrator
Administrator

Realmente aprecio su rápida respuesta, Samarth. ¡Muchas gracias!

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Realmente aprecio su rápida respuesta, Samarth. ¡Muchas gracias!

Syndicate_Admin
Administrator
Administrator

@yewling1201 ,

Por favor, pruebe la siguiente medida: -

Measure = 
var _max_cust = CALCULATE(MAX('Table'[# of customers]),ALL('Table'[# of customers]))
return CALCULATE(MAX('Table'[Item]),FILTER('Table','Table'[# of customers] = _max_cust))

BR

Samarth

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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