The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
La respuesta no sería:
Usar la primera fila como encabezado.
Renombrar la columna de los años como "Measure".
Deshacer el pivote de las columnas de los años (esto cambia las columnas de 2016, 2017, etc., a filas).
Cambiar el tipo de la columna "Year" a "Date".
Solved! Go to Solution.
@Adriana1993 1 - Use first row as header
2 - Unpivot all columns other than "Measure"
3 - Rename "Attribute" to "Year"
4 - Change data type of "Year" to date (Date > Year)
Proud to be a Super User! |
|
@Adriana1993 1 - Use first row as header
2 - Unpivot all columns other than "Measure"
3 - Rename "Attribute" to "Year"
4 - Change data type of "Year" to date (Date > Year)
Proud to be a Super User! |
|