March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I want to change below data
FixVersion Stage StageStatus
SFP.R.11.8 A Completed
SFP.R.11.8 B Completed
SFP.R.11.8 C In Progress
SFP.R.11.8 D Not Started
SFP.R.11.9 A Completed
SFP.R.11.9 B Completed
SFP.R.11.9 C In Progress
SFP.R.11.9 D Not Started
to like below
FixVersion A B C D
SFP.R.11.8 Completed Completed In Progress Not Started
SFP.R.11.9 Completed Completed In Progress Not Started
help me out here..
Solved! Go to Solution.
@KR300 Hi! Here the power query code:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCnYL0AvSMzTUs1BQ0lFyVAACIO2cn1uQk1qSmqIUq4OuxokINc5QNZ55CgFF+elFqcXFWFS5QFX55ZcoBJckFmGYZUmEmyyJcJMlUW6yxOmmWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"FixVersion " = _t, Stage = _t, StageStatus = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"FixVersion ", type text}, {"Stage", type text}, {"StageStatus", type text}}),
#"Pivoted Column" = Table.Pivot(
Table.TransformColumnTypes(#"Changed Type", {{"Stage", type text}, {"StageStatus", type text}}),
List.Distinct(#"Changed Type"[Stage]),
"Stage",
"StageStatus"
)
in
#"Pivoted Column"
from:
you'll obtain:
if it's ok, please accept my answer as solution!
BBF
@KR300 Hi! Here the power query code:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCnYL0AvSMzTUs1BQ0lFyVAACIO2cn1uQk1qSmqIUq4OuxokINc5QNZ55CgFF+elFqcXFWFS5QFX55ZcoBJckFmGYZUmEmyyJcJMlUW6yxOmmWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"FixVersion " = _t, Stage = _t, StageStatus = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"FixVersion ", type text}, {"Stage", type text}, {"StageStatus", type text}}),
#"Pivoted Column" = Table.Pivot(
Table.TransformColumnTypes(#"Changed Type", {{"Stage", type text}, {"StageStatus", type text}}),
List.Distinct(#"Changed Type"[Stage]),
"Stage",
"StageStatus"
)
in
#"Pivoted Column"
from:
you'll obtain:
if it's ok, please accept my answer as solution!
BBF
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.