Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating an index column for Power Bi

Tags:

powerbi

I have a table of member IDs and transactions in Power BI, I would like to create an index column for it, any suggestions?

Regards

like image 637
Roy25 Avatar asked Aug 16 '17 14:08

Roy25


1 Answers

My preferred method is to use PowerQuery (Power BI's Query Editor). Here's how:

  • Click the "Home" tab in Power BI and then click the "Edit Queries" button.
  • Then, under "Queries" on the left side of the screen, click on the name of the table you want to add the index to.
  • Then click on the "Add Column" tab and then click the "Index Column" button. (If you click the down arrow beside the Index Column button, you can decide what number to start the index with.)

    enter image description here

  • Then click "File" and "Close & Apply".
like image 183
Marc Pincince Avatar answered Sep 28 '22 08:09

Marc Pincince