Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Create or update worksheet from data generated by power query on separate tab OR How to divide results of query on one worksheet between 2 worksheets

Avatar of sunnyone947
sunnyone947 asked on
Microsoft OfficeMicrosoft ExcelSpreadsheetsVBASQL
1 Comment1 Solution231 ViewsLast Modified:
Hello,

I am new to Excel's Power Query and am managing a monthly cumulative reporting process with excel files containing Power Queries and am not finding them intuitive to use. I need to filter a tab in one file, then transfer the filtered data to another tab that will continue to track these updates monthly while removing them from the current output. The data on the current tab in question is generated by an existing query.

In the original file, a query exists that updates the data on Miles >50 from another workbook. But, for my example file attached I have added a tab Miles <=50 that I am needed to move all records where the mileage is <=50 from the current tab.

This is the current state
Current Single tab "Miles>50"            
            
Area      Vehicle#                  Miles
1              1C4NJDEB6            11.7
1              5NPDH4AE        11.7
1                3N1AB7AP            11.7
1              3N1AB7AP            17.3
1              KNDJP3A59            62.5
1              1N4AL3AP2       62.5
1              5NPE24AF4            62.5
1              KNDPB3AC       62.5

--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
This is the TARGET State: Additional tab of "Miles<=50" containing records filtered and moved from "Miles>50" tab


Updated TAB "Miles>50"
Area      Vehicle#                 Miles
1              KNDJP3A59            62.5
1              1N4AL3AP2      62.5
1              5NPE24AF4            62.5
1              KNDPB3AC5      62.5

NEW TAB: "Miles<=50"
Area      Vehicle#             Miles
1              1C4NJDEB6G            11.7
1              5NPDH4AE4     11.7
1                3N1AB7APX            11.7
1              3N1AB7AP6            17.3

FOUND MY SOLUTION:
https://support.office.com/en-us/article/combine-data-from-multiple-data-sources-power-query-70cfe661-5a2a-4d9d-a4fe-586cc7878c7d
TESTING.xlsx
ASKER CERTIFIED SOLUTION
Avatar of sunnyone947
sunnyone947

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answers