cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
UncleLewis
Helper V
Helper V

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors