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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors