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

Importing multiple named ranges from Excel and transforming

Hi,

 

Is it possible to establish a function in Power Query to import a list of named ranges from an Excel file based on a parameter with list and apply the same transformation across each to create individual tables?

 

I'm currently importing each manually but I'm sure there is a better way but I can't seem to get the parameter in the Source right as it is failing for me.

 

Cheers,

Andrew

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @Anonymous

 

Yes this can be done by creating a function.


The one question that I have to ask is with each named range, are the data structure (Columns) the same between each named range?

 

If that is correct you can do this.

 

There is a video by Guy In a Cube explaining this: Dynamic Power BI reports using Parameters

 

If you get stuck please let me know.





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

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi @Anonymous

 

Yes this can be done by creating a function.


The one question that I have to ask is with each named range, are the data structure (Columns) the same between each named range?

 

If that is correct you can do this.

 

There is a video by Guy In a Cube explaining this: Dynamic Power BI reports using Parameters

 

If you get stuck please let me know.





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

Proud to be a Super User!







Power BI Blog

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.