The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to Solution.
The bug has been resolved by Microsoft.
Hi @Styry69 ,
We really appreciate your efforts and for letting us know the update on the issue.
Please continue using fabric community forum for your further assistance.
Please mark your solution as accepted solution so the other members in the community can find it easily
Thank you
Hi @Styry69 ,
Can you please confirm whether you have resolved issue. If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. This will be helpful for other community members who have similar problems to solve it faster.
If we don’t hear back, we’ll go ahead and close this thread.Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.
Best Regards,
Menaka.
Community Support Team
Hi @Styry69 ,
May I ask if you have resolved this issue? Can you please update on this issue.
Thank you.
Hey v-menakakota,
maybe you already checked, but I just came back from a longer holiday. After having updated to the latest version, the visual is working like I want it to. Problem seems to be fixed.
Hi @jonas_poskowsky ,
We really appreciate your efforts and for letting us know the update on the issue.Please continue using fabric community forum for your further assistance.
Best Regards,
Menaka.
Community Support Team
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 )
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.
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!
Facing the same issue, I hope a patch is released soon!
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-Mar...
Proud to be a Super User! | |
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
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:
"
Hi @Styry69 ,
Thank you for reaching out to us on the Microsoft Fabric Community Forum.
Once go through the below points:
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.
Having the same issue. I believe classic card visuals do not support SVG measures
Yes, the SVG-Code is directly in the measure. And the measure resp. the SVG code works fine with the Table Visual.
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