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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
wujunmin
Advocate III
Advocate III

Matrix Bubble Chart By DAX

wujunmin_0-1642476852733.png

Mark the measure as Image URL:

Chart = 
VAR MAXR=MAXX(ALL('table'),[data])
RETURN
"data:image/svg+xml;utf8,"&"
<svg xmlns='http://www.w3.org/2000/svg' height='100' width='100'>
    <line x1='0' y1='50' x2='100' y2='50' stroke='black' stroke-width='0.5' />
    <line x1='50' y1='0' x2='50' y2='100' stroke='black' stroke-width='0.5' />
    <circle cx='50' cy='50' r='"&40*[data]/MAXR &"' fill='"&IF([data]>100,"Darkcyan","Tomato")&"'/>
    <text x='50' y='50' font-size='20' text-anchor='middle' dominant-baseline='middle'>"&[data]&"</text>
</svg> " 

wujunmin_2-1642477000925.png

 

1 REPLY 1
robby1200
New Member

Dear wujunmin,

this is exactly what I would need. However, i am a complete Power BI Newbi and my skills do not go beyond using standard visuals and data modelling. May I ask on how I can implement this in my report?

Thanks in advance

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors