• 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

Navigation Step Ignoring Left-most Column in Source Data File|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Navigation Step Ignoring Left-most Column in Source Data File|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 QueryNavigation Step Ignoring Left-most …
sp_PrintTopic sp_TopicIcon
Navigation Step Ignoring Left-most Column in Source Data File
Avatar
Tanya McIlravy
Member
Members
Level 0
Forum Posts: 11
Member Since:
September 29, 2021
sp_UserOfflineSmall Offline
1
December 7, 2021 - 11:16 am
sp_Permalink sp_Print sp_EditHistory

I saved my work last week, and now today when I attempt to continue to work on my project, one of the queries is giving an Expression Error about a missing column. The column is missing because for whatever reason, the Navigation step is not pulling in all the columns from the source data. I have rebuilt the query and it will load in the query editor without errors. But I can't load to a table or load any other queries that read the table even though I have reset everything. I can get it to work if I remove the #Removed Columns step, but I am concerned that the navigation step, which doesn't show up in the advanced editor, will reset again in the future and break it again. 

Navigation step (as shown in editor step window)

= Source{[Item="Sales Order History",Kind="Sheet"]}[Data]

Advanced Editor code: (I replaced file name/address with xxxx for this post.)

let

    Source = Excel.Workbook(Web.Contents("https://xxxx.xlsx"), null, true),

    #"Sales Order History_Sheet" = Source{[Item="Sales Order History",Kind="Sheet"]}[Data],

    #"Removed Columns" = Table.RemoveColumns(#"Sales Order History_Sheet",{"Column1"}),

sp_AnswersTopicSeeAnswer See Answer
Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
December 8, 2021 - 1:17 pm
sp_Permalink sp_Print

Hi Tanya,

The navigation step is just selecting a sheet, it does nothing to the sheet content, so I guess it's something else.

If you can anonymize the data and upload sample files that replicates the missing column error, we can try to identify the source.

Avatar
Tanya McIlravy
Member
Members
Level 0
Forum Posts: 11
Member Since:
September 29, 2021
sp_UserOfflineSmall Offline
3
December 9, 2021 - 1:07 am
sp_Permalink sp_Print sp_EditHistory

This is the second time it has happened, with different source and query files. 🙁 

My workaround this time was to use 'Remove Other Columns' instead of removing the one column, so if it starts working again it won't break. This will probably become my 'best practice' as almost all our source data has the first column as blank, but if it isn't imported this glitch/gremlin will break the queries.

I did rebuild the query that day (more than once, and used older and new data files) and had the same problem. But now today it imported correctly. Next time I'll just be patient and/or do a few reboots! (and capture to share here to see if it is machine related).

sp_AnswersTopicAnswer
Answers Post
Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
4
December 9, 2021 - 2:02 am
sp_Permalink sp_Print

Maybe this topic will help, you can check if column 1 is empty and remove it:

https://www.myonlinetraininghu.....mns#p23144

Avatar
Tanya McIlravy
Member
Members
Level 0
Forum Posts: 11
Member Since:
September 29, 2021
sp_UserOfflineSmall Offline
5
December 10, 2021 - 1:28 am
sp_Permalink sp_Print

Thank you! I have tried using list functions instead of merging queries (learned from a MOTH video!), and this additional use is helping me understand how to think of things in terms of lists more. I will continue to explore that line of thinking for this and future projects.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Richard Benson-King
Guest(s) 10
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:
wahab tunde
Cong Le Duc
Faisal Bashir
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Len Matthews
Kristine Arthy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6205
Posts: 27210

 

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