• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Tables or Named Ranges with no Query|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Tables or Named Ranges with no Query|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryTables or Named Ranges with no Quer…
sp_PrintTopic sp_TopicIcon
Tables or Named Ranges with no Query
Avatar
ExcelNovice2020
Member
Members
Level 0
Forum Posts: 58
Member Since:
February 8, 2020
sp_UserOfflineSmall Offline
1
June 23, 2022 - 3:32 am
sp_Permalink sp_Print

Dumb question and I am not sure I am asking properly.  Is it possible to use a table or named range within the PQ editor without making it a separate query?

For example, say I wanted to append or merge a table or named range within the worksheet to an existing query, is this possible or do I need to load the table or named range into PQ editor as well? 

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 442
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
June 23, 2022 - 4:33 am
sp_Permalink sp_Print

Unless I'm totally mistaken, yes you need to connect PQ to all tables/ranges you want to use. It creates a query, but that doesn't really matter. Or why would you not want to connect?

Avatar
ExcelNovice2020
Member
Members
Level 0
Forum Posts: 58
Member Since:
February 8, 2020
sp_UserOfflineSmall Offline
3
June 23, 2022 - 6:44 am
sp_Permalink sp_Print

I have a lot of queries within the PQ editor (over 100).  I was just looking to simplify a little bit.  It is a nightmare at times working with all the queries.  But, there is a lot of separate data that is being utilized.  It is mostly connections but still, just looking to downsize the number of queries and I thought maybe this was one method.  

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 442
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
4
June 23, 2022 - 3:06 pm
sp_Permalink sp_Print

100 queries seem a lot.

Perhaps it will help if you group the queries in the Queries & Connections window. Use some logic that enables you to find particular types of queries when you need to review or edit them. And collapse groups the contain intermediate (staging) queries that you probably never will need to edit. And use clear and descriptive names for the groups and queries. Perhaps you have already done so. Then I don't really know anything else you could do.

Avatar
ExcelNovice2020
Member
Members
Level 0
Forum Posts: 58
Member Since:
February 8, 2020
sp_UserOfflineSmall Offline
5
June 23, 2022 - 11:30 pm
sp_Permalink sp_Print

I do have them in groups.  It involves 20 - 23 separate weeks and each week has about 6-7 sets of different queries.  I got to thinking this morning, since the data is similar, I could combine some of the tables into one large table and then filter within the query.  That would cut down on some of the queries.  

Speaking of collapsing the groups, is there a way (setting) that when you enter the PQ editor, all groups are automatically collapsed?  

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 442
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
6
June 24, 2022 - 1:02 am
sp_Permalink sp_Print

That I'm not aware of. Sorry.

Avatar
Adam Bender
Minneapolis, MN

Active Member
Members

Power Query
Level 0
Forum Posts: 5
Member Since:
June 14, 2022
sp_UserOfflineSmall Offline
7
June 30, 2022 - 2:08 am
sp_Permalink sp_Print

ExcelNovice2020, I think you're probably dealing with a bigger issue than whether or not this is possible, and based on the conversation so far it does seem like having 100 queries means there's probably a better way.

However, I did want to mention that you probably can (haven't tested) reference a named range or table without creating another query.  The way I would envision doing that is by creating a query to reference all objects in the current Excel workbook, then finding the named ranges, and then expanding those named ranges (assuming they're all formatted the same) into a single location.

In other words, you'd have a custom column that would expand the data within a cell based on a name in another column (I.E. Excel.CurrentWorkbook... [Other Column]...) and it could be  contained in one place.

That said, it's also not the most simple solution, but it could accomplish what you're looking for.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Ayal Telem, Mark Stevens
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27292

 

Member Stats:
Guest Posters: 49
Members: 31913
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.