Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Excel Power Query from Access
Stephen Meiring 
   
3 years ago
Hello,

I have an Access Database that we enter information about our nonconforming parts. We then export this to excel using a power table query. The query is placing the information into excel based on the disposition field. I would like the query to pull the information based on the NCMR number column.

Any help with would be great.

Stephen Meiring OP  @Reply  
   
3 years ago

Juan C Rivera  @Reply  
             
3 years ago
try the DLookUP
If that don't work let us know more than happy to help.
Stephen Meiring OP  @Reply  
   
3 years ago
Below is what is listed in the NCMR Main Table-Access_Import_PowerQuery. How would I change this to display all this but make the NCMR Number the trigger field to add it to the table in Excel?

let
    Source = #"NCMR Main Table-Access_Import_Headers",
    #"Appended Query" = Table.Combine({Source, #"NCMR Main Table-Access_Import_Type1", #"NCMR Main Table-Access_Import_Type2", #"NCMR Main Table-Access_Import_Type3", #"NCMR Main Table-Access_Import_Type4", #"NCMR Main Table-Access_Import_Type5"}),
    #"Promoted Headers" = Table.PromoteHeaders(#"Appended Query", [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"NCMR Number", type text}, {"Date", type date}, {"NCMR Type", type text}, {"Part Number", type text}, {"Lot Quantity", Int64.Type}, {"Number Rejected", Int64.Type}, {"Discrepancy Type", type text}, {"Discrepancy", type text}, {"Discrepancy Qty", type text}, {"Disposition", type text}, {"Cause", type text}, {"Machine Number", type text}, {"Oper1", type text}, {"Oper2", type text}, {"Oper3", type text}, {"Oper4", type text}, {"FORMAL CAR REQUIRED?", type logical}, {"Q-220 Analysis Req?", type logical}, {"Closed?", type logical}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each [Discrepancy Type] <> null and [Discrepancy Type] <> "")
in
    #"Filtered Rows"
Juan C Rivera  @Reply  
             
3 years ago
don't know much on power query but the last line sticks out with filtered rows... try changing the [Discrepancy Type to [MCMR Number]  and see what happens.  after that I have to pass and see if another will help.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/2/2026 8:55:03 AM. PLT: 0s