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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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)