Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
@Anonymous , Did this solve the issue? If yes, Please mark this as solution
@Anonymous , Copy Paste This code in Power Query in a blank query
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8gtR0lEqKSpNzcxLB7IcHR2BpKGhkVKsDlQyragUIufk5AQkjYyMEXIpMDlnZ2cgaWxsApYL8wTx0lLTUoFUWVESkDQzM0WSSgUCEJVeBNJsbGKMJFecWlRSWQpkFCUVgc0EuiUWAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [State = _t, TypeA = _t, TypeB = _t, NumA = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"State", type text}, {"TypeA", type text}, {"TypeB", type text}, {"NumA", Int64.Type}}),
#"Grouped Rows" = Table.Group(#"Changed Type", {"State"}, {{"Data", each _, type table [State=nullable text, TypeA=nullable text, TypeB=nullable text, NumA=nullable number]}}),
#"Added Custom" = Table.AddColumn(#"Grouped Rows", "Index", each Table.AddIndexColumn([Data],"Index",1)),
#"Removed Other Columns" = Table.SelectColumns(#"Added Custom",{"Index"}),
#"Expanded Index" = Table.ExpandTableColumn(#"Removed Other Columns", "Index", {"State", "TypeA", "TypeB", "NumA", "Index"}, {"State", "TypeA", "TypeB", "NumA", "Index.1"}),
#"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Expanded Index", {"State", "Index.1"}, "Attribute", "Value"),
#"Merged Columns" = Table.CombineColumns(Table.TransformColumnTypes(#"Unpivoted Columns", {{"Index.1", type text}}, "en-US"),{"Attribute", "Index.1"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"Merged"),
#"Pivoted Column" = Table.Pivot(#"Merged Columns", List.Distinct(#"Merged Columns"[Merged]), "Merged", "Value")
in
#"Pivoted Column"
, apply and check
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |