cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
triafrog33
Frequent Visitor

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
Frequent Visitor

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

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!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.