Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet 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
Hi,
I am trying to formatting a bubble chart and I need some help.
I would formatting bubble's colors according to their values where bubbles size represent a sum of times, and i would color them following ranges of values, for example :
0 to 10h : green
10h to 20h : yellow
20h + : red
But my problems comes. I would choose the values (0 to 10, 10 to 20 ...) thanks to an other datatable that specify thoses values.
So, If you have any advices that could help me,
Thanks,
Laulau
Solved! Go to Solution.
Hi @Laulau ,
You may create a claculated column to mark the sum value with color then add the color mark to Bubble Name field.
Here's my sample data and out put for your reference.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Laulau ,
You may create a claculated column to mark the sum value with color then add the color mark to Bubble Name field.
Here's my sample data and out put for your reference.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your both answers, problem solved !
@Laulau , You can use conditional formatting. Under data color use Rule and You hour Measure
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting
Or try creating a color measure like using if or switch
Color sales = if(Sum(Sales[Hours])<170,"yellow","red")
Color Year = if(FIRSTNONBLANK(Table[Year],2014) <=2016,"lightgreen",if(FIRSTNONBLANK(Table[Year],2014)>2018,"red","yellow"))
In conditional formatting use "Field" and then use this measure
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
85 | |
83 | |
72 | |
49 |
User | Count |
---|---|
142 | |
137 | |
110 | |
69 | |
55 |