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
Proud to be a Super User!
@SimonSeez , Despníte la tabla crea una fecha
fecha: "01-" & [Mes] & "-"& [Año]
O
fecha: "01-" & [Mes] & "-2020"
Mes que obtendrá de unpivoting
Proud to be a Super User!
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"
Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 |