Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Hjameelaq
Regular Visitor

Multiple answers and using other

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

1 ACCEPTED SOLUTION

hi @Hjameelaq ,

 

try to write a calculated column like:

Column =

DIVIDE(

    data[value],

    SUM(data[value])

)

View solution in original post

4 REPLIES 4
Hjameelaq
Regular Visitor

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

)

Hjameelaq
Regular Visitor

I will give this a try, how can we show these options on table like saying 

Others is blah blah blah...

FreemanZ
Super User
Super User

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)

    )

)

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.