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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a DAX expression which renders a SVG image or displays a number depending on the scope of the row. I am able to get the number to display, but instead of the image displaying, the SVG markup gets displayed. InScope is categorized correctly as an Image URL and I am able to display only the image if I program my DAX expression as InScope = [BlueBox]. This tells me that the measure is defined and categorized correctly. I am scratching my head trying to get this to work. I know it shouldn't be this problematic. Any suggestions? TIA
Dax Expression:
Resulting Matrix (also showing that my SVG images do render correctly):
Solved! Go to Solution.
You need to render your text via SVG as well. You cannot mix column types.
You are missing quite a bit of the SVG boilerplate code (like the viewbox)
Thanks for the reply @lbendlin. How would adding more of the boilerplate code to the image help? I still don't think it would render correctly. As you can see, as it's currently defined, it renders fine when used on its own. It's the combination of displaying the image or text within the same column that is causing the problem.
I now think it has more to do with displaying the value than displaying the image. I tweaked my expression, hard coding the value as a string. This changed the measures format from General to Text.
You need to render your text via SVG as well. You cannot mix column types.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 7 | |
| 6 |