为 Power Bi 创建索引列 [英] Creating an index column for Power Bi

查看:239
本文介绍了为 Power Bi 创建索引列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Power BI 中有一个成员 ID 和事务表,我想为其创建一个索引列,有什么建议吗?

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

问候

推荐答案

我的首选方法是使用 PowerQuery(Power BI 的查询编辑器).方法如下:

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

  • 单击 Power BI 中的主页"选项卡,然后单击编辑查询"按钮.
  • 然后,在屏幕左侧的查询"下,点击要将索引添加到的表.
  • 然后单击添加列"选项卡,然后单击索引列"按钮.(如果单击索引列"按钮旁边的向下箭头,你可以决定索引用什么数字开始.)

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

这篇关于为 Power Bi 创建索引列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆