Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Result:
Mark the SVG measure below as Image URL๏ผ
chart =
VAR Max_Value = MAXX ( ALLSELECTED ('table'),[KPI] )
VAR Avg_Value = AVERAGEX ( ALLSELECTED ('table'),[KPI] )
VAR SVG ="
data:image/svg+xml;utf8,
<svg xmlns='http://www.w3.org/2000/svg' width='150' height='30'>
<g>
<title>ๅ
ฌไผๅทwujunmin</title>
<rect x='0' y='5' width='"
& 150 * [KPI] / Max_Value & "' height='20'
fill='deepskyblue'
/>
<line x1='" & 150 * Avg_Value / Max_Value & "'
x2='" & 150 * Avg_Value / Max_Value & "'
y1='0' y2='30'
stroke-width='1' stroke='black' stroke-dasharray='5'
/>
</g>
</svg>"
RETURN
SVG