Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there,
this table is my raw data
| respondentID | Attribute | Value |
| 1 | what is your favourite color | red |
| 2 | what is your favourite color | red |
| 3 | what is your favourite color | red |
| 4 | what is your favourite color | blue |
| 5 | what is your favourite color | green |
| 6 | what is your favourite color | black |
| 7 | what is your favourite color | blue |
| 8 | what is your favourite color | blue |
| 9 | what is your favourite color | yellow |
| 10 | who is your favourite superhero | spiderman |
| 11 | who is your favourite superhero | spiderman |
| 12 | who is your favourite superhero | superman |
| 13 | who is your favourite superhero | batman |
| 14 | who is your favourite superhero | batman |
| 15 | who is your favourite superhero | batman |
| 16 | who is your favourite superhero | batman |
I would like to create a measure that does a simple COUNT of Value divided by DistinctCount of respondent ID.
For example,
red would be 3 / 16
blue would be 3 / 16
yellow, black, green would be 1 / 16
spiderman would be 2 / 16
superman would be 1 / 16
batman would be 4 / 16
why wouldn't this work?
Is this done in measure? if Yes, the formula is working but the outcome im getting are 0. It's not doing the right calculations @Mahesh0016
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 4 | |
| 3 |