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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello.
I tried to load the table in XML from the following page:
"https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_trea..." but I couldn't understand how to generate the information structure in power query.
I don't know how to build the information.
Solved! Go to Solution.
let
Source = Xml.Tables(Web.Contents("https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_trea...")),
Custom1 = Table.Combine(List.Transform(Source{0}[entry][content],each Table.TransformColumns(Table.FirstValue(Table.FirstValue(_)[properties]{0}),{},Table.FirstValue)))
in
Custom1
let
Source = Xml.Tables(Web.Contents("https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_trea...")),
Custom1 = Table.Combine(List.Transform(Source{0}[entry][content],each Table.TransformColumns(Table.FirstValue(Table.FirstValue(_)[properties]{0}),{},Table.FirstValue)))
in
Custom1
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 8 | |
| 8 | |
| 7 |