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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sr12
Helper I
Helper I

Merged Cells in Source

Hello everyone,

 

I am using an excel data source for power BI and some cells are merged, when i import it to Power BI, the cells get unmerged and the value null is given. So how can i merge cells in Power BI?

 

Thanks in advance,

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @sr12 ,

You can import the data into power bi and merge it through power query.

Create some data:

vyangliumsft_0-1631778940474.png

1. Enter power query through transform data.

2. Select the column you want to merge, right-click the mouse, and select Merge Columns.

vyangliumsft_1-1631778940478.png

3. Result.

vyangliumsft_2-1631778940486.png

 

Best Regards,

Liu Yang

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

ryan_mayu
Super User
Super User

@sr12 

we can't merge cells in powerbi. Usually we don't suggest to have merged cells in Excel data source, you need to unmerge those cells and restructure the raw data.

The merged cells will generate some null values columns in powerbi, you can also try to delete those columns as well.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.