简体   繁体   中英

Creating an index column for Power Bi

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

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.)

    在此处输入图片说明

  • Then click "File" and "Close & Apply".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM