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

Importing Multiple Tables contained within one Excel Spreadsheet

Hello,

I have multiple tables (and matrixes) contained inside one spreadsheet of an Excel file and wish to import them into Power BI. What is the best method of importing them without having to apply the tabulation shortcut of CTRL + T on each individual table and matrix ? Would there be any specific issue of importing the matrixes ?

Regards

3 REPLIES 3
Rehman2007
New Member

Thanks, Xiaoxin. Is M language required as a solution for this ?

Hi @Rehman2007,

Yes, I mean use power query function to extract specific field values to instead raw steps.

If you are confused about coding formula, please share some dummy data with a similar data structure and expected results to test.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
v-shex-msft
Community Support
Community Support

Hi @Rehman2007,

It is possible to extract specific cell fields from one excel sheet (we did not so recommend this, they may cause the issue and broken your tables every time the main sheet structure changes)

To extract specific fields, you can import the raw sheet into power bi as a query table. Then you can create new query tables that reference from the raw table and use Table.SelectColumns, Table.FirstN, Table.LastN function to choose specific ranges.

Table.SelectColumns - PowerQuery M | Microsoft Docs

Table.FirstN - PowerQuery M | Microsoft Docs

Table.LastN - PowerQuery M | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.