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
pmadam
Helper II
Helper II

Ayuda de DAX

Desde la captura de pantalla de abajo, ¿cómo obtengo col_orderstatus de número de col_orderid máximo para el mismo col_tnumber

Hlp.jpg

Gracias

Prathy

2 REPLIES 2
AiolosZhao
Memorable Member
Memorable Member

Hola @pmadam ,

Por favor, pruebe la siguiente medida, funciona en mi escritorio:

CALCULATE(MAX('Table (5)'[Status]),FILTER('Table (5)','Table (5)'[Orderid] = CALCULATE(MAX('Table (5)'[Orderid]),ALLEXCEPT('Table (5)','Table (5)'[Number]))))

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Ashish_Mathur
Super User
Super User

Hola

Prueba estas medidas

max_orderid: calculate(max(data[col_orderid]),allexcept(data,data[col_orderstatus]))

order_status de max order id á if(hasonevalue(data[col_tnumber]),lookupvalue(data[col_orderstatus],data[col_tnumber],values(data( data[col_tnumber]),data[col_orderid],[max_orderid]), blank())

Arrastre la segunda medida al objeto visual.

Espero que esto ayude.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.