Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Can I use multiple SVG files in one visual that change based on filter?

We have a list of 50 project sites. 

 

Once each site is mapped out via synoptic designer, I would like to insert SVG in visual, then based on project number, have BI select the appropriate SVG file.

 

It looks like something similiar was done in here - see end of video where they change between US map and EUROPE map, but I couldnt find the instructions to create the table where the SVG files live and how to set up the visual to be dynamic. 

 

https://powerbi.microsoft.com/en-us/blog/visual-awesomeness-unlocked-using-the-synoptic-panel/

5 REPLIES 5
wgjunsay
Advocate I
Advocate I

Hello guys, are there any updates on this ? My requirements are exactly the same as @Anonymous . I just wanted to be able to filter through a collection of SVG files through a slicer. Please let me know. Thanks !

Anonymous
Not applicable

There is not further information. I guess, it can't be possible.

Anonymous
Not applicable

Hi,

I have also the same problematic. It's not allowed to load an image.svg depending on a slicer.

Did you resolve the problem ?

Thanks,

Greg_Deckler
Super User
Super User

Should be possible, you could just create a table with the SVG code and then have a measure that references the table and set that measure to be an "Image URL" I believe. 

 

Check out the SVG Quick Measures here: https://community.powerbi.com/t5/Quick-Measures-Gallery/bd-p/QuickMeasuresGallery?sortby=postdate

 

Also, if anyone can answer this, @Phil_Seamark should be able to, he has done some aMAZEing things with DAX and SVG. http://radacad.com/fun-with-dax-a-maze-ing-dax


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you for the information, I have searched through the documentation and have not found a solution as of yet. I was hoping it was simple like changing the JPG image based on the number, but I cannot get the SVG to render by using Synoptic or IMG custom visual in Desktop.

 

I will keep searching and update as I learn more!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.