Forum Discussion
3D Format Column Chart
- 9 months ago
So it seems there's some kind of limitation with JavaScript when it's in focus mode. That's why the earlier code built with JavaScript didn’t work in focus mode.
Yes, we can add the moving effect — please find the attached updated code.
Hi Mohamed_007
If the built-in Python visualization approach wasn’t helpful for you, you can try the HTML content visual approach to create custom visuals in Power BI. HTML content visuals offer more features, such as adding tooltips. However, the downside is that the visual rendering can be slightly slower than Python visuals.
In this video, he explains how to create HTML content custom visuals:
🔗 https://www.youtube.com/watch?v=_mpDkwlqgc8&t=600s
I’ve also attached a sample custom visual I created for your reference.
Hi kushanNa ,
Thanks For Your Prompt Reply ,
While Zooming In Or Out and During Focus Mode the Visual is Disappearing , Any Fix for that?
- kushanNa9 months agoSuper User
Oh, this is the issue with HTML content visual slow rendering. Let me check if I can find a fix for this and get back to you.
- Mohamed_0079 months agoFrequent Visitor
Hi kushanNa ,
Just Following Up with you , you found a fix for that ?
I really appreciate your support 🙏- kushanNa9 months agoSuper User
Hey Mohamed_007
Unfortunately, I couldn’t find a way to make the image expand automatically in focus mode, but I was able to find a manual solution. You just need to pick an image size from the slicer, and then click Focus Mode — the image will expand accordingly.
Create the image size table and measures in the sample pbix attached, and use that measure in the new DAX code as scaler