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
kram1234
New Member

Indentation table template from Excel not loading

Hi,

 

I try to add a Excel-template with a hiërarchie for a "Cost-overview". But when I try to load the template in Power BI, the indentation is gone (I know about switching off "Word Wrap").

 

It should be like the (Excel-) picture below. See my files here: PBIX and Excel-template 

 

kram1234_0-1666039639013.png

 

kram1234_1-1666040134738.png

 

 

1 ACCEPTED SOLUTION
jbwtp
Memorable Member
Memorable Member

Hi @kram1234,

 

I can't load your files, but I guess the identation is not space-generated, this is rather formatting in Excel?

I just had to sort the same issue. The problem is that PBI does not care about cells meta-data (including formatting) and only take the actual value of the cell.

 

I worked around it with a macro that would analise the identation and create a separate column to record the identation level, which then can be used in PBI.

 

Kind regards,

John 

View solution in original post

2 REPLIES 2
kram1234
New Member

Hi @jbwtp ,

 

You are right. The indentation is not space-generated. I changed it to space-generated instead of using "Increase Indent" in Excel, now it's fine.

 

Thanks for this pretty easy solution 🙂

jbwtp
Memorable Member
Memorable Member

Hi @kram1234,

 

I can't load your files, but I guess the identation is not space-generated, this is rather formatting in Excel?

I just had to sort the same issue. The problem is that PBI does not care about cells meta-data (including formatting) and only take the actual value of the cell.

 

I worked around it with a macro that would analise the identation and create a separate column to record the identation level, which then can be used in PBI.

 

Kind regards,

John 

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.

Top Solution Authors
Top Kudoed Authors