Join 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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Team,
Can you please help me on power query to transformation?
Input
same input was loaded into the power bi file and link is attached in the below
Reference power bi File: https://1drv.ms/u/s!Au-aOkl1BoHuhwcy-cGvuQhVMj6-?e=LSc2U2
Output
Please let me know if you need any more information
Thanks In advance
RGV
Solved! Go to Solution.
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
Custom1 = Table.UnpivotOtherColumns(Table.Skip(Table.PromoteHeaders(Table.Skip(Table.Transpose(Table.CombineColumns(Table.Transpose(Source),{"Column2","Column3"},each if _{0}=null or _{0}="" then "Country" else Text.Combine(_,"-"),"n"))))),{"Country"},"Date","Actual")
in
Custom1
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
Custom1 = Table.UnpivotOtherColumns(Table.Skip(Table.PromoteHeaders(Table.Skip(Table.Transpose(Table.CombineColumns(Table.Transpose(Source),{"Column2","Column3"},each if _{0}=null or _{0}="" then "Country" else Text.Combine(_,"-"),"n"))))),{"Country"},"Date","Actual")
in
Custom1
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.