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
pszczulka1984
Frequent Visitor

Creación de tablas de datos con fechas y varios registros para una fecha

Hola, chicos

He creado una tabla con fechas según el script a continuación ahora necesito tener cada uno de los días enumerados digamos 5 veces para cada día con cada fecha teniendo canal A, B, C, D, E. ¿Cómo puedo agregar esto como en el minuto en que cada fecha muestra sólo 1 y no agredí los registros todavía, no estoy seguro de cómo lograr eso.

Seré muy grande para su apoyo 🙂

ADDCOLUMNS (
CALENDARIO ( FECHA ( 2019, 3, 1 ), FECHA ( 2024, 2, 28 ) ),
"Día", FORMAT ( [Fecha], "DDDD" ),
"DayNum", DÍA DE LA SEMANA ( [Fecha], 2 ),
"StartMonth", EOMONTH ([Fecha],-1) + 1,
"EndMonth", EOMONTH ([Fecha], 0),
"MonthtStartDate&Weekday",EOMONTH( [Fecha],-1)+1&FORMAT ( [Fecha], "DDDD" )
Gracias
Joanna
3 REPLIES 3
amitchandak
Super User
Super User

@pszczulka1984, No muy claro, Puede tener tabla de tiempo

https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

Una vez join date with date and time with time

Hora: [hora de la fecha].hora

fecha de la fecha .fecha

Hola

1a de todas las gracias por tomarse el tiempo para leer mi post.

Lo que estoy tratando de lograr es según la tabla a continuación. Así que cada fecha aparecerá tantas veces como muchos canales que tenga.

FechaCanal
1/01/2020A
1/01/2020B
1/01/2020C
2/01/2020A
2/01/2020B
2/01/2020C
3/01/2020A
3/01/2020B
3/01/2020C

Gracias de antemano,

@pszczulka1984 , Vea si esto puede ayudar

crossjoin

nueva tabla: crossjoin([Date],[Channel])

https://docs.microsoft.com/en-us/dax/crossjoin-function-dax

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.