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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.