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 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