Filter 检查值是否用作过滤器(电源Bi)
我使用列作为幂二元滤波器。数据帧类似于:Filter 检查值是否用作过滤器(电源Bi),filter,powerbi,dax,Filter,Powerbi,Dax,我使用列作为幂二元滤波器。数据帧类似于: +---------+-------+ | Measure | Value | +---------+-------+ | Growth | $ | | Profit | % | | Profit | $ | +---------+-------+ 我希望当我在我的计算列上选择$visual时: +---------+-------+----------+ | Measure | Value | Selected | +-
+---------+-------+
| Measure | Value |
+---------+-------+
| Growth | $ |
| Profit | % |
| Profit | $ |
+---------+-------+
我希望当我在我的计算列上选择$visual时:
+---------+-------+----------+
| Measure | Value | Selected |
+---------+-------+----------+
| Growth | $ | 1 |
| Profit | % | 0 |
| Profit | $ | 1 |
+---------+-------+----------+
其中1表示用户选择了$
有没有关于如何生成dax的想法,该dax能够对视觉中的值是否被选中进行分类?我认为您正在寻找类似于
Selected = IF ( SELECTEDVALUE ( TableName[Value] ) = "$", 1, 0 )
DAX的功能和功能可能也很有趣