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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

How to build a hierarchical data model from an Excel file with multiple interrelated sheets

Hello,

 

I would like to know how can I do a data model in Power Query with a particular Excel file. The Excel contains multiple sheets and it has dynamic tables that call different sheets making calculations from multiple dynamic tables. So for example: one table has a cell that contains a sum of 6 more cells from a different sheet in the same Excel file. And those 6 more cells contain more calculations that call other cells in different sheets.

 

I need to develop a model that can contain hierarchical agrupation table of those multiple calls to different cells to perform a granular analytical approach. 

 

Can you help me? Thank you in advance

1 ACCEPTED SOLUTION
Stachu
Community Champion
Community Champion

It's most likely possible to transfer the whole business logic of your Excel file to PowerBI, but you will have to translate all the "dynamic tables" transformations (M in Query Editor should work well) and calculations to (DAX) from scratch.

 

So it's less about rebuilding the Excel file, it's more about creating a new tabular model with appropiate measures, joins, etc. that meets your business requirements



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

2 REPLIES 2
Stachu
Community Champion
Community Champion

It's most likely possible to transfer the whole business logic of your Excel file to PowerBI, but you will have to translate all the "dynamic tables" transformations (M in Query Editor should work well) and calculations to (DAX) from scratch.

 

So it's less about rebuilding the Excel file, it's more about creating a new tabular model with appropiate measures, joins, etc. that meets your business requirements



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Anonymous
Not applicable

Thank you very much for your reply. It's a bit daunting to code M from scratch but I have no other option. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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