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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors