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.
Hola
Obtengo datos de mi base de datos SQL con Meses como encabezados de columna y los valores inferiores. Quiero realizar cálculos financieros basados en el tiempo, así que hice una tabla de dimensiones de fecha. (https://radacad.com/all-in-one-script-to-create-date-dimension-in-power-bi-using-power-query)
La pregunta es cómo conecto ambas tablas. Mi tabla SQL tiene este aspecto
Nombre de la unidad ? Enero ( Jan) Feb ? Mar (Mar) Abr ? Mayo de Junio ? XXX ? Diciembre
Saludos
Solved! Go to Solution.
@SimonSeez , Despníte la tabla crea una fecha
fecha: "01-" & [Mes] & "-"& [Año]
O
fecha: "01-" & [Mes] & "-2020"
Mes que obtendrá de unpivoting
@SimonSeez , Despníte la tabla crea una fecha
fecha: "01-" & [Mes] & "-"& [Año]
O
fecha: "01-" & [Mes] & "-2020"
Mes que obtendrá de unpivoting
Hello @amitchandak
Thank you for your assistance with my previous question. I have another variant of the same problem. This time I have a much longer list of rows. Actually, about 2,000 customers with monthly figures of revenue generated. Would you still recommend unpivoting to enable me to get a single date column which I can connect to my calender table?
See sample table
Customer Name | Customer ID | Jan Revenue | Feb Revenue | Mar Revenue | xxxxxxxx | Dec Rev
Hope to read from you.
Best Regards,
Simon
Sí, todavía debe usar "Despivot Otras columnas"
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |