Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
How to create new table with data from another existing table
Tablea 1 (Existing)
| ID | Name | Value |
| 1 | A | X |
| 1 | B | Y |
| 2 | A | Z |
| 2 | B | W |
Table 2 (New)
| ID | A | B |
| 1 | X | Y |
| 2 | Z | W |
Solved! Go to Solution.
Hi @Anonymous
Select the Name column in Power Query and pivot it with the Value column as values
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUXIE4gilWB0IzwmII8E8I6hcFJwHkgtXio0FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [ID = _t, Name = _t, Value = _t]),
#"Pivoted Column" = Table.Pivot(Source, List.Distinct(Source[Name]), "Name", "Value")
in
#"Pivoted Column"
Regards
Phil
Proud to be a Super User!
Hi @Anonymous
Select the Name column in Power Query and pivot it with the Value column as values
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUXIE4gilWB0IzwmII8E8I6hcFJwHkgtXio0FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [ID = _t, Name = _t, Value = _t]),
#"Pivoted Column" = Table.Pivot(Source, List.Distinct(Source[Name]), "Name", "Value")
in
#"Pivoted Column"
Regards
Phil
Proud to be a Super User!
@Anonymous Try to use Matrix visual and add the fields like below:
@Anonymous and if you don't want the total column at the end so you can set it off like this:
Thanks but, it didnt help!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |