假设我在 power bi 中有一个名为 TABLE_1 的表,如下所示:
Category Color
electronic yellow
automobile Red
food product green
educational black
使用 DAX 语句,我如何创建此表的精确副本?
我是 DAX 的新手
答案 0 :(得分:1)
最简单的方法是使用ALL函数:
Table_2 = ALL(Table_1)
如果你需要复制一张表并过滤掉一些记录:
Table_2 = CALCULATETABLE( Table_1, Table_1[Color] in {"green", "black"})