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.
You can refer to the columns by index number. For example, instead of
= Table.RenameColumns(#"Changed Type",{{"month Arriving date", "test"}})
Which is normally what would happen if you clicked on column and renamed it, modfy it to use the following syntax:
= Table.RenameColumns(#"Changed Type", {{Table.ColumnNames(#"Changed Type"){2}, "test"}})
Basically instead of referring to the "month Arriving date" column by name, I am getting the name of the 3rd column (Power Query indexes by 0, so {2} is the 3rd column) and renaming it to "test"
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingHi @Ap674 ,
Please post a sample data (a link to google/one drive or dropbox).
Proud to be a Super User!
Hi @Ap674
You need to handle dynamic column names in Power query before you do Pivoting. See this video for doing that.
https://www.youtube.com/watch?v=yBJr0sAc-m4
Mann.
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |