在DAX中如何从列返回特定值
在名为CustomerParent的表中的DAX(PowerBi)中,来自名为Parent的列(数据类型文本),我想从中返回过滤值,说“ 000000” 换句话说,例如: 如果customerparent [parent] =“ 000000”返回customerparent [parent]
SELECT Parent
FROM CustomerParent
WHERE Parent = '000000';
In Dax(PowerBI) From a table named customerParent, from the column named Parent (data type Text) I am wanted to return a filtered value from it say "000000"
in other words like:if CustomerParent[Parent] = "000000" return CustomerParent[Parent]
SELECT Parent
FROM CustomerParent
WHERE Parent = '000000';
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以编写这样的度量
parent = calculate(max(tbl [parent]),filter(values(tbl [parent]),tbl [parent] ='000000'))
>You can write a measure like this
parent = calculate(max(tbl[parent]),filter(values(tbl[parent]),tbl[parent]='000000'))