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
Anonymous
Not applicable

Create a header for mutliple columns

I have a project in excel which i have to replicate in Power bi.

 

Data looks like:

 

adi0007_0-1598507079957.png

 

   

 

I want to make header for ASBL and EAC same as it is above in Power bi.

I tried using matrix but as i have multiple string columns it seems difficult.

 

Let me know is there any dax or any other way.

 

Thanks!

5 REPLIES 5
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Based on my research, it is not supported in power bi currently because powerbi does not recognize the merged column headings but treats each cell as a separate column. The merged column headings will only appear in one of the columns, and the remaining columns will be displayed as null.

 

Here is an simliar idea about this issue, you can vote for it to help us improve power bi and make this feature coming sooner.

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Anonymous 

I don't think it is possile to do it in power BI as how is the visual goinf to know which columns merge together to form a combined header and when not to.

Anonymous
Not applicable

@Anonymous 

Is there any dax to create header or any power bi option to do it.

 

@amitchandak , Matrix won't work bcoz i have multiple text columns.

It works if you are working with a single text column

Anonymous
Not applicable

HI @Anonymous 

There is no DAX measure which can give you the name of the column I am aware about.

You can check the below video, it doesn't do exactly as per your ask but shows you how an hierarchial column can be useful.

https://www.youtube.com/watch?v=0tVPLocU7e0

 

amitchandak
Super User
Super User

@Anonymous , Assuming the is the visual format, not the raw data, I think this should possible with Matrix

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

 

With expand all level

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors