admin管理员组文章数量:1392101
i'm trying to filter a table in PBI but i struggle with it so much. I have 2 columns, col1 can only have 2 values, 1 or 2. Col2 in a Product number, and can have mutliple occurence for the same number. I want to filter the table to only display one product number per distinct value of Col1. My final goal is to have maximum 2 line per product number in my table.
Here is an exemple of what my table looks like now:
Column 1 | Column 2 |
---|---|
1 | 123456 |
2 | 123456 |
2 | 123456 |
2 | 123456 |
1 | 999999 |
1 | 999999 |
1 | 999999 |
2 | 999999 |
i'm trying to filter a table in PBI but i struggle with it so much. I have 2 columns, col1 can only have 2 values, 1 or 2. Col2 in a Product number, and can have mutliple occurence for the same number. I want to filter the table to only display one product number per distinct value of Col1. My final goal is to have maximum 2 line per product number in my table.
Here is an exemple of what my table looks like now:
Column 1 | Column 2 |
---|---|
1 | 123456 |
2 | 123456 |
2 | 123456 |
2 | 123456 |
1 | 999999 |
1 | 999999 |
1 | 999999 |
2 | 999999 |
And this is what i want to achieve :
Column 1 | Column 2 |
---|---|
1 | 123456 |
2 | 123456 |
1 | 999999 |
2 | 999999 |
1 Answer
Reset to default 0you can try in PQ select two columns and remove duplicates
or you can use DAX to creat
Table 2 = SUMMARIZE('Table','Table'[Column 1],'Table'[Column 2])
本文标签: powerbiHow to filter a Power BI table with column one filtered by column 2Stack Overflow
版权声明:本文标题:powerbi - How to filter a Power BI table with column one filtered by column 2 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744780485a2624680.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论