Forum Discussion
Dynamic Images based on Slicer selection
Hi Everyone,
Hope all doing well. I have 4 images which are not web hosted (in my local folder). My requirement is the image should change based on slicer selection. please let me know if this is doable in Power BI.
- Anonymous3 years ago
1.You can transfer the image to base64 code , then use it as an image url to insert to a table.
You can use the following website to transfer the image to base64 code.
Base64 Image Encoder (base64-image.de)
Then copy the code to a table and set the column type to Image URL
Then you can use slicer to filter it.
You can refer to the following video.
Power Bi : Use Local Images in Power Bi. 3 Different Methods - YouTube
2.You can use r script to control it , you can refer to the following link.
Dynamically Changing Shapes in Power BI | Under the kover of business intelligence (sqlkover.com)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
1.You can transfer the image to base64 code , then use it as an image url to insert to a table.
You can use the following website to transfer the image to base64 code.
Base64 Image Encoder (base64-image.de)
Then copy the code to a table and set the column type to Image URL
Then you can use slicer to filter it.
You can refer to the following video.
Power Bi : Use Local Images in Power Bi. 3 Different Methods - YouTube
2.You can use r script to control it , you can refer to the following link.
Dynamically Changing Shapes in Power BI | Under the kover of business intelligence (sqlkover.com)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.