The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi @Anonymous ,
Like this?
Advance editor:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSkxU0lEyNAQSRgZGxrqGuoZKsTrRSklJIBEjdOHkZKCIsTGKcCwA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t, Column3 = _t]),
#"Renamed Columns" = Table.RenameColumns(Source,{{"Column3", Text.From(List.Max(Source[Column3]))}})
in
#"Renamed Columns"
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @Anonymous ,
Like this?
Advance editor:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSkxU0lEyNAQSRgZGxrqGuoZKsTrRSklJIBEjdOHkZKCIsTGKcCwA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t, Column3 = _t]),
#"Renamed Columns" = Table.RenameColumns(Source,{{"Column3", Text.From(List.Max(Source[Column3]))}})
in
#"Renamed Columns"
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Can't you just select Table.PomoteHeaders?
--Nate
I could, but it will promote just the first row, I would like to promote only specific columns not all the columns
Hi @Anonymous
Please manually change the column header
or you are looking for dynamic name
Proud to be a Super User! | |
Yes! See this particular report it used to be in Excel, so with c# we defined the date as header of the excel then we would umpivot. Now we are getting it with SP in sql server and then we cannot define the name of the fields dynamically. I want to set the value in the row as the header name in power bi