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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dlv_35
New Contributor

Dynamically resizing bubbles based on data values on powerbi

Hi everyone,

Iโ€™m building a fruit-inventory dashboard and want to show each stage of our banana supply chain as a bubble. For example:

  • Harvested Bananas: 10 crates

  • In Transit: 80 crates

  • Delivered: 50 crates

Each stage is represented by a bubble, and Iโ€™d like the bubble size to grow or shrink automatically according to the countโ€”so โ€œIn Transitโ€ would appear largest when it has 80 crates, and โ€œHarvestedโ€ smaller with only 10.

I previously tried the Akvelon Power BI visual, but I couldnโ€™t get the bubble size to respond dynamically to the measure. The layout should display the stages sequentially (1-2-3โ€ฆ) while each bubble scales with the underlying data.

Whatโ€™s the best way to achieve this in Power BI? Would you recommend a custom visual, a DAX measure trick, or another built-in visual? Any guidance or examples would be greatly appreciated.

Thanks,

2 REPLIES 2
BeaBF
Valued Contributor III

@dlv_35 Hi!

 

 

  • Add a Scatter Chart visual to your report.

  • Put your โ€œStageโ€ field in the Details bucket.

  • Put an index (or just Stage again) in the X-Axis to force ordering.

  • Put a constant (like 1) in the Y-Axis to keep everything aligned horizontally (or vertically).

  • Put your measure (e.g., [Crate Count]) into the Size bucket.

  • Set the marker size scaling in the Format pane โ†’ โ€œShapesโ€ โ†’ โ€œSizeโ€ to something comfortable.

If you want more control (labels inside bubbles, better spacing, tooltips), the free Bubble Chart by OKViz is well regarded and supports dynamic sizing natively.

 

BBF


๐Ÿ’ก Did I answer your question? Mark my post as a solution!

๐Ÿ‘ Kudos are appreciated

๐Ÿ”ฅ Proud to be a Super User!

Community News image 1920X1080.png

 

grazitti_sapna
Valued Contributor

Hi @dlv_35 ,

Try this:

  1. Create an order column:
    StageOrder =
    SWITCH(
    [Stage],
    "Harvested", 1,
    "In Transit", 2,
    "Delivered", 3,
    99
    )
  2. Go to Visualizations pane โ†’ select Scatter chart.
  3. Drag fields:

X-axis โ†’ StageOrder
Y-axis โ†’ create a dummy measure Always1 = 1 so all bubbles align in a row.
Size โ†’ Crates (this makes bubbles grow/shrink).
Legend / Details โ†’ Stage

 

๐ŸŒŸ I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

๐Ÿ’ก Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

๐ŸŽ– As a proud SuperUser and Microsoft Partner, weโ€™re here to empower your data journey and the Power BI Community at large.

๐Ÿ”— Curious to explore more? [Discover here].

Letโ€™s keep building smarter solutions together!

 

Helpful resources

Announcements
Top Solution Authors
Users online (11,586)