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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Primera/MIN fecha Valor de uno a muchos relación

Hola, tengo que tablas de datos:

1: Con identificaciones únicas

2. Con múltiples D.I. y fechas

Necesito en la Tabla 1, la primera fecha mínima/ el valor min fecha de la fecha para cada valor único correspondiente, he intentado con MIN en vano, ¿puede alguien ayudar ?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@bilingual , Nuevas columnas en la Tabla 1

si están relacionados

col1 = minx(relatedtable(table2), table2[fechas])

col2 = maxx(relatedtable(table2), table2[fechas])

Si no están relacionados

col1 = minx(filter(table2, Table1[ID] = Tabla2[ID]), table2[fechas])

col2 = maxx(filter(table2, Table1[ID] = Tabla2[ID]), table2[fechas])

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@bilingual , Nuevas columnas en la Tabla 1

si están relacionados

col1 = minx(relatedtable(table2), table2[fechas])

col2 = maxx(relatedtable(table2), table2[fechas])

Si no están relacionados

col1 = minx(filter(table2, Table1[ID] = Tabla2[ID]), table2[fechas])

col2 = maxx(filter(table2, Table1[ID] = Tabla2[ID]), table2[fechas])

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors