Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
UncleLewis
Resolver III
Resolver III

Header Row From Web Query Columns Different

Hi all,

 

How can I create a header row based on data from Web Query on Fed data where table headers are inconsistent? Some fields import as a wrapped line :

2021
Jul

Others import as 2 different rows:
Week ending

Aug11

Fed site : https://www.federalreserve.gov/releases/h8/current/default.htm
Table 7

Thanks,
-w

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@UncleLewis 

You need to do a bit transformation in power query. Please check the power query steps in the following pbix.

Vpazhenmsft_0-1630634581414.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@UncleLewis 

You need to do a bit transformation in power query. Please check the power query steps in the following pbix.

Vpazhenmsft_0-1630634581414.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

edhans
Super User
Super User

See if this article helps @UncleLewis - Working With Multiple Row Headers From Excel in Power Query — ehansalytics

It specifically deals with double row headers in Excel, but should apply to any data source where you need to combine multiple rows into a single row for a clean header row before promoting to the header.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors