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

Caso sepcial de grupo por en código M

Hola

Aquí está mi conjunto de datos que representa un subconjunto de datos reales

Arriba IDValor del hardwareFecha del pedido
OPE1101/1/2020
OPE1301/2/2020
OPE1401/3/2020
OPE1201/4/2020
OPE2101/5/2020
OPE2101/5/2020

Quiero agrupar los valores de pedido por ID de oportunidad, que es sencillo en el Editor de consultas

Sin embargo, si una oportunidad tiene varias fechas, entonces mi ouput debería mostrar "Múltiples fechas".

Si una oportunidad tiene solo 1 fecha, solo mencione la fecha.

Así que mi salida debería verse así:

Arriba IDValor del hardwareFecha del pedido
OPE1100Múltiples fechas
OPE2201/5/2020

¿Cómo puedo hacer esto en código M?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@klehar

pls ver el archivo adjunto a continuación. Espero que esto sea útil

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@klehar

pls ver el archivo adjunto a continuación. Espero que esto sea útil

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.