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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jamesbr
Frequent Visitor

Controlling the bubble size in a scatter chart

I cannot get the bubble size to work as required...  I have a table that contains the sales of a team:

 

James | 16

James | 15

James | 14

Bob | 15

Bob | 13

Janet | 20

 

That can draw me a scatter chart that shows the number of deals and the value of those deals.  Perfect.

I then want to create the bubble size based on their current close rate

 

James | .25

Bob | .5

Janet | .8

 

So i join the two tables to create a relationship, and then pull the 'CloseRate' to create the bubble size.  Therefore showing an indication of their ability to close deals.

 

However I am forced to select either a Sum, Average etc for the CloseRate and all the values in the chart are the sales.  So for example if I select 'Sum of CloseRate' every bubble is the same size and has an value of 1.55 (eg .25+.5+.8).

 

How can I bring the data into the scatter chart so that I get the correct values assigned to the correct dots?

 

Thanks

James

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @jamesbr,

 

By default, if we drag a column into "Size" section in a scatter chart, it will be aggregated, like Sum, Average, Count, etc. To avoid this beavior, we can add a measure insetad of adding column directly. Below is my test, please review it.

 

Add a calculated column [Bubble Size] in sales table.

Bubble Size =
LOOKUPVALUE (
    'Bubble Size'[Close Rate],
    'Bubble Size'[Name], 'Sales of team'[Name]
)

1.PNG

 

Create a measure.

Bubble Size measure =
CALCULATE (
    LASTNONBLANK ( 'Sales of team'[Bubble Size], 1 ),
    ALLEXCEPT ( 'Sales of team', 'Sales of team'[Name] )
)

Add this measure into "Size" section.

2.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @jamesbr,

 

By default, if we drag a column into "Size" section in a scatter chart, it will be aggregated, like Sum, Average, Count, etc. To avoid this beavior, we can add a measure insetad of adding column directly. Below is my test, please review it.

 

Add a calculated column [Bubble Size] in sales table.

Bubble Size =
LOOKUPVALUE (
    'Bubble Size'[Close Rate],
    'Bubble Size'[Name], 'Sales of team'[Name]
)

1.PNG

 

Create a measure.

Bubble Size measure =
CALCULATE (
    LASTNONBLANK ( 'Sales of team'[Bubble Size], 1 ),
    ALLEXCEPT ( 'Sales of team', 'Sales of team'[Name] )
)

Add this measure into "Size" section.

2.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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