在 Power BI 中,如何删除名称以 'NewHire' 开头的行并计算剩余员工数?
In Power BI, how to remove rows having names starting with 'NewHire' & count remaining employees?
我的 table 看起来像这个例子:
我想删除名称以 'NewHire' 开头的所有行并计算剩余员工数。该列表稍后将添加更多新员工,因此我想编写代码以在 Power BI 中自动执行该过程。
请帮助我。
感谢和问候。
您可以在 Power Query 编辑器 中完成。转到 table 和 select 您的专栏。从右上角下拉,select Text Filter 和 select Does not begin with... 并放NewHire 在尊重的筛选文本框中。
参考下图。
我的 table 看起来像这个例子:
我想删除名称以 'NewHire' 开头的所有行并计算剩余员工数。该列表稍后将添加更多新员工,因此我想编写代码以在 Power BI 中自动执行该过程。
请帮助我。
感谢和问候。
您可以在 Power Query 编辑器 中完成。转到 table 和 select 您的专栏。从右上角下拉,select Text Filter 和 select Does not begin with... 并放NewHire 在尊重的筛选文本框中。
参考下图。