Pinterest Pixel

Add a Row Index to a Loaded Query Using Power Query

Bryan
Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.  If you have an existing query that you have created and forgot to add a row index, you can still add a row index to a loaded query!

Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.  If you have an existing query that you have created and forgot to add a row index, you can still add a row index to a loaded query!

This is perfect as there is no need for you to modify the original query.

We will use the existing workbook from this tutorial of splitting dates. It splits the Order Date into Year, Month and Day.

Split the Date Using Power Query or Get & Transform

Add a Row Index to a Loaded Query Using Power Query | MyExcelOnline

Download excel workbookAdd-a-Row-Index-to-a-Loaded-Query.xlsx

STEP 1: Open the workbook with the existing query. Select any cell in it.

Add a Row Index to a Loaded Query Using Power Query

 

STEP 2: Go to Data > Connections > Properties

Add a Row Index to a Loaded Query Using Power Query

 

STEP 3: Now tick Include row numbers and click OK.

Add a Row Index to a Loaded Query Using Power Query

 

STEP 4: Let us now see this reflect in our query. Go to Query> Load> Refresh

Add a Row Index to a Loaded Query Using Power Query

Your row index is now added to your loaded query!

Add a Row Index to a Loaded Query Using Power Query

 

How to Add a Row Index to a Loaded Query Using Power Query

 

Free Excel Macros & VBA Webinar Training

 

If you like this Excel tip, please share it



Add a Row Index to a Loaded Query Using Power Query | MyExcelOnline


Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  Remove Rows Using Power Query

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...