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
Chanleakna123
Post Prodigy
Post Prodigy

Obtenga el resultado más reciente en función de la fecha con los clientes duplicados

hola, tengo por debajo del resultado de la presentación.

y me gustaría ver sólo el último envío si tengo datos duplicados basados en fecha, hora,

Por lo tanto, significa que cuando filtro cualquier fecha, los clientes duplicados muestran solo 1 cliente con el último envío.

si filtro cualquier fecha que no sea clientes duplicados, muéstrele al Cliente allí.

Capture 1.PNG

1 REPLY 1
ryan_mayu
Super User
Super User

@Chanleakna123

puede crear una nueva tabla

new table = 
VAR tbl=SUMMARIZE('Table (3)','Table (3)'[customer code],'Table (3)'[customername],'Table (3)'[submission date],"time",max('Table (3)'[Time]))
return ADDCOLUMNS(tbl,"stock",MINX(FILTER('Table (3)','Table (3)'[Time]=EARLIER([time])&&'Table (3)'[customer code]=EARLIER('Table (3)'[customer code])&&'Table (3)'[submission date]=EARLIER('Table (3)'[submission date])),'Table (3)'[stock]))

1.PNG





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

Proud to be a Super User!




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.