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

查看:645
本文介绍了为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天全站免登陆