Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |