admin管理员组文章数量:1355748
Say I have a table.
court | activity | amount |
---|---|---|
a | 1 | 10 |
b | 1 | 20 |
c | 2 | 10 |
a | 1 | 15 |
b | 1 | 20 |
c | 2 | 15 |
d | 2 | 10 |
d | 3 | 25 |
c | 3 | 30 |
a | 1 | 15 |
Say I have a table.
court | activity | amount |
---|---|---|
a | 1 | 10 |
b | 1 | 20 |
c | 2 | 10 |
a | 1 | 15 |
b | 1 | 20 |
c | 2 | 15 |
d | 2 | 10 |
d | 3 | 25 |
c | 3 | 30 |
a | 1 | 15 |
I have two single-selected slicers based on court and activity respectively. Activity slicer will filter court slicer but court slicer will not filter activity slicer.
I would like to have a card visual displaying the number of rows of the table by removing the court filtering but keeping the activities filter.
Suppose one selected court = 'd' and activity = '3'. When activity slicer change from '3' to '1', I would like to have the card to show 2, even though there is no such combination in the table.
Disabling the interaction between the card visual between the court slicer and the card is not allowed based on my report.
Share Improve this question edited Mar 31 at 13:16 Michael asked Mar 31 at 9:46 MichaelMichael 311 silver badge5 bronze badges 2- Shouldn't the number of rows in the table be 5 when filtered on 'activity = 1', and not 3? – Marco Vos Commented Mar 31 at 12:05
- @MarcoVos Thank you for answering. Yes, you are right. But I found the issue I encountered was more complicated than what I described previously when I tried to translate my issue into this toy example so I provided more detail. The solution you provided could not address this case. – Michael Commented Mar 31 at 13:20
1 Answer
Reset to default 0Try using a measure like:
Measure = CALCULATE ( COUNTROWS ( 'Table' ), ALL ( 'Table'[court] ) )
and put it on the card visual. This will ignore the 'court' slicer.
本文标签: powerbiHow to remove a filter of a slicer but not the otherStack Overflow
版权声明:本文标题:powerbi - How to remove a filter of a slicer but not the other - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743955898a2568125.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论