Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
help please i want to make a clusterd colum visual with % of yes and no answers my data is like this
Name answer
andrew yes
peter no
withney no
i want to know how many people answert with yes and how many people answert no and i want to show it in a clusterd colum diagram.
hope someone can help me :):)
Solved! Go to Solution.
hi @Anonymous
are you expecting like:
measure =
VAR _count = DISTINCTCOUNT(TableName[Name])
VAR _countall =
CALCULATE(
DISTINCTCOUNT(TableName[Name]),
ALL(TableName[answer])
)
RETURN
DIVIDE(_count, _countall)
Take the answer column in x axis and the name column count in y axis you will get the answer.
If you need the % get total name count with out filters and decide by the name count, and drop it in y axis.
This doesnt work for me if i place the measure in in the Y axis it gives me 100% by both answers i need a measuere like this:
count answer
count answer divide by yes and now
hi @Anonymous
are you expecting like:
measure =
VAR _count = DISTINCTCOUNT(TableName[Name])
VAR _countall =
CALCULATE(
DISTINCTCOUNT(TableName[Name]),
ALL(TableName[answer])
)
RETURN
DIVIDE(_count, _countall)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |