• 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

Duplicate data source has killed my sheets|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Duplicate data source has killed my sheets|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 QueryDuplicate data source has killed my…
sp_PrintTopic sp_TopicIcon
Duplicate data source has killed my sheets
Avatar
PB

New Member
Members
Level 0
Forum Posts: 2
Member Since:
July 8, 2021
sp_UserOfflineSmall Offline
1
July 8, 2021 - 3:41 am
sp_Permalink sp_Print sp_EditHistory

I have some data which I have modeled cleaned in a master excel sheet, and then export the final data to a text file. This is then imported into various excel sheets using Power Query to be loaded in pivot tables and used to generate graphs for reports.

Recently, I think that somewhere in the background, my primary query has somehow been duplicated and now I cannot refresh data. This has happened in ALL of my sheets somehow.

Let's call my main query Current_data. Well I have recently noticed that refresh all queries never completes and when I exit the file, I get the dialogue that Current_data1 could not refresh. The issue being that I cannot find Current_data1 in the queries pane. If I click on "Change data source" in the pivot table options, I can see Current_data1 in the list of connections, and all of my pivot tables are linked to this and not Current_data. But the 2 data sources are somehow linked through the same query. I.e. if I delete Current_data from the queries pane, all of my pivot tables unlink from data.

I have noticed that the Current_data query in the query pane shows as connection only, meaning the Current_data1 query which all of my pivot tables are linked to is not accessible to edit. Is this a glitch, or do I have a hope if being able to find the invisible query?

The only fix I can see is to change the data source on all of my pivot tables by hand (which will create a new Current_data1/2/3 increment, which I am guessing will bloat my sheets beyond being useful. Or create a new query from the data source, recreate all graphs - enormous time loss.

Does this mean anything to anyone? Any idea of how to fix before I start working silly hours to stay with deadlines?

 

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4443
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
July 8, 2021 - 5:20 pm
sp_Permalink sp_Print

Is it possible you loaded Current_data1 to the Power Pivot Data Model?

Avatar
PB

New Member
Members
Level 0
Forum Posts: 2
Member Since:
July 8, 2021
sp_UserOfflineSmall Offline
3
July 8, 2021 - 9:19 pm
sp_Permalink sp_Print

Thanks for your reply.

There is nothing in the PP data model.

I do have an update though. It seems that it has only affected 2 of my sheets rather than all. They all have the duplicate query, which suggests it was there during setup as the sheets are copies from a starter template which contains the dupe. 

They work fine, so I think what has happened is that I have loaded my original query as connection only in the beginning, then the duplicate is created as a reference to the original query when I loaded it to pivot chart report. So the duplicate itself is not the issue.

However, I just remembered that the other day, I accidentally copied a tab from the first affected sheet to the other affected sheet, which created a bunch of duplicates, which I then deleted. I can only assume that something I deleted resulted in a link being lost between the original query and the original duplicate (created in the template) for those 2 sheets.

Still something of a mystery as to exactly what happened, but fortunately it's more of an annoyance than a show-stopper on closer inspection.

sp_AnswersTopicAnswer
Answers Post
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Philip Treacy, Carlos Ferreira, Chandler Davis, baber Tufail
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
drsven
Annie Witbrod
wahab tunde
Cong Le Duc
Faisal Bashir
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Forum Stats:
Groups: 3
Forums: 24
Topics: 6205
Posts: 27211

 

Member Stats:
Guest Posters: 49
Members: 31880
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.