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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ngiam
Helper I
Helper I

Filling empty header with content from other header

How do I do this in the most flexible way for header (as it might change depending on data size) :

 

Raw Data :

Name | Time | Email | Query | Column5 | Column6 | Column7 | Query2 | Column9 | Column10 | Column11 | so on and forth

 

Desired output : 

Name | Time | Email | Query | Query | Query | Query | Query2 | Query2 | Query2 | Query2 | so on and forth

 

The number of empty header might change according to different data and I can't seems to find a good approach to this.

 

Link to the excel sheet of the raw data & expected results : https://www.dropbox.com/scl/fi/v2hm6dwidgunn8idl8eqa/sample-raw-data.xlsx?rlkey=jj2zpwh9zri3icz1nphr...

 

Thank you in advance!

2 REPLIES 2
foodd
Super User
Super User

Please create a pbix file that contains some sample data but still reflects your data model (tables, relationships, calculated columns, and measures), upload the pbix to Onedrive or Dropbox, and share the link.  Please use Excel to create the sample data instead of the manual input method share the xlsx as well.

 

Describe the expected results based on the sample you provide.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.