Forum Discussion
New Card Visual Image URL doesn't work any more
Hello Everyone
The new card visual seems to have a bug when using a measure containing svg-code. By selecting Image type = Image URL and adding a measure with svg-code to create a custom graphic, nothing happens. The measure is formated as Text and set to Datatype Image URL. This used to work until a couple of days back. Maybe an issue with the March Release?
Has anyone similar problems?
Greetings
Joerg
The bug has been resolved by Microsoft.
17 Replies
- IdrissshatilaSuper User
Hello Styry69 , MR24 , Sebaslop90 , Deku
its a common issue in the latest verson, many all users are facing it so I opened it as an issue so that they investigate it, follow the issue thread to stay updated
https://community.fabric.microsoft.com/t5/Issues/SVG-Image-URL-in-Card-New-Visual-is-not-working-March-2025/idi-p/4640192#M111614 - rejin91Regular Visitor
Facing the same issue, I hope a patch is released soon!
- DekuSuper User
Are is the SVG defined directly in the measure, or does it reference a measure with the SVG text. I've noticed recently unless you define the SVG directly it only shows the text
- Styry69Frequent Visitor
Yes, the SVG-Code is directly in the measure. And the measure resp. the SVG code works fine with the Table Visual.
- v-menakakotaCommunity Support
Hi Styry69 ,
Thank you for reaching out to us on the Microsoft Fabric Community Forum.
Once go through the below points: If you are on an older version, update Power BI Desktop to the latest release.
Add the same measure to a table and see if the SVG renders correctly.
If urgent, switch back to the classic card visual, as it may still support SVG rendering.
Since the new card visual is still in preview,please wait for few days it may take some time.Please check the below documentation.
(new) Card visual format settings - Power BI | Microsoft Learn
If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.- stan_shcherbakRegular Visitor
Having the same issue. I believe classic card visuals do not support SVG measures
- Sebaslop90Regular Visitor
I'm having the same issue, I have one PC with January 2025 version and the SVG-Measure works perfect on the New Card adding it as Image-URL, but on my laptop it updated to March 2025 and it is not working, a quick workaround that worked for me was using the "HTML Content" and removing the first part of the SVG - "data:image/svg+xml;utf8," and just letting your svg Code:
"
<svg width='200' height='400' viewBox='0 0 200 400' xmlns='http://www.w3.org/2000/svg'><rect x='30' y='30' width='140' height='340' rx='35' ry='35' fill='#bcc4d0'/><rect x='40' y='40' width='120' height='200' rx='25' ry='25' fill='#284066' transform='rotate(180, 100, 200)'/></svg>"This way, I could get the SVG to work. The bad news is that you cannot use small multiples, but it works for single images, like in my case.hope they fix this soon. - MR24Regular Visitor
Hi,
Same issue on my side with new card visual when trying to add an image url based on a mesure !
v-menakakota : I don't undertand how switching back to the classic card visual may solve the problem. Classic card visual does not support image.
Greetings - jonas_poskowskyRegular Visitor
Same here. And the funny thing is: In a report created earlier, it still works, BUT: you can't see that the image-URL is based on a measure. It looks like I put static text in the corresponding field in the formatting options. But the image reacts dynamically just like I coded in the measure. And if I copy the "static" text to an editor, filter and copy again, it's a different svg-code (just like it should). Weird!
- JoseMachucaNew Member
I found a temporary solution.
Since the old cards are still working, you can create a copy of your .pbix file, change the name of the measure and source table that the old and functioning card is referencing to the new measure you want the card to use as a condition.
Then you copy the card from the copied file to the current file, so it will reference the new measure you want and continue working.
- DeCspecFrequent Visitor
Hey,
I had the same problem and for me the svg images started to work after adding a ‘Categories’. I used it to have only one category, disable all ‘Small multiple layers’ and make the ‘Small multiple header’ transparent.
Rigth is with category added (this red arrow down is svg in measure )