The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello all,
I have a multiple answer question and I want to make a bar visual which is something I know how to do. What I want is to show only options that have 3% higher and show other option instead of these options that are below 3% and show a small hint underneath thus bar saying other options include 1, 3 blah blah... can you please help!
Regards, Hanna
Solved! Go to Solution.
hi @Hjameelaq ,
try to write a calculated column like:
Column =
DIVIDE(
data[value],
SUM(data[value])
)
How do we calculate the sum of all values for a column to be able to calcuate the % for each ?
hi @Hjameelaq ,
try to write a calculated column like:
Column =
DIVIDE(
data[value],
SUM(data[value])
)
I will give this a try, how can we show these options on table like saying
Others is blah blah blah...
hi @Hjameelaq ,
supposing you have two columns: answer and percentage, try to plot the barchart with two calculated columns:
answer2 =
IF([percentage]>=0.03, [answer], "Others")
Percentage2 =
IF(
[answer]=[answer2],
[percentage],
SUMX(
FILTER(data, data[answer2]="Others"),
data(percentage)
)
)
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |