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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Following is an example of svg which is fully fluid and reponsive in a browser.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<rect width="30" height="30" x="35" y="35" style="fill:#4E79A7" />
</svg>
An equivalent DAX measure is
_blue:="data:image/svg+xml;utf8,
<svg xmlns=""http://www.w3.org/2000/svg"" viewBox=""0 0 100 100"">
<rect width=""30"" height=""30"" x=""35"" y=""35"" style=""fill:#4E79A7"" />
</svg>"
I was wondering is it possible to make this measure responsive inside a matirx? I tried the above but it did not work. Are the svgs inside the matrix viz deemed not be responsive?
vs
Thank you in advance.
Solved! Go to Solution.
@smpa01 No, I don't believe so. If I recall correctly, SVG's are effectively images and are controlled by the Image height setting in the Grid section of the Format sub-pane of the Visualizations pane.
Hi @smpa01 - Greg is absolutely correct. Here's a little more detail (plus a link to the idea where you can vote to hopefully get this changed in future).
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks @Greg_Deckler and @dm-p . I hope in future SVGs are made to be responsive rather than having to manually perform the adjustment and voted for the idea.
@smpa01 No, I don't believe so. If I recall correctly, SVG's are effectively images and are controlled by the Image height setting in the Grid section of the Format sub-pane of the Visualizations pane.
Hi @smpa01 - Greg is absolutely correct. Here's a little more detail (plus a link to the idea where you can vote to hopefully get this changed in future).
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
@dm-p Voted for!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |