Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have the following data:
Season | Round |
2021 | 1 |
2022 | 1 |
2021 | 2 |
2022 | 2 |
2021 | 3 |
The combination of Season and Round is in my case unique. I want to count the unique values of those two columns. The total here should be 5.
Solved! Go to Solution.
Try
Measure = COUNTROWS(DISTINCT('Table'[Round]))+COUNTROWS(DISTINCT('Table'[Season]))
Try
Measure = COUNTROWS(DISTINCT('Table'[Round]))+COUNTROWS(DISTINCT('Table'[Season]))
pls try this
m1 = COUNTROWS(DISTINCT(UNION (VALUES('table'[Product],VALUES('table'[Category])))
That does not work unfortunately, for every value it returns 2 instead of 1...
Share sample pbix file to help you.
I can't... but I changed my post. If I use your measure I get not enough value back.
User | Count |
---|---|
62 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |