Disclaimer: The method described in this post includes modifying Power BI file (PBIX) outside of Power BI Desktop. It is highly recommended to take a backup of your PBIX file beforehand. It’s highly probable that you corrupt your PBIX file if make a mistake when following the method described here. So please follow the process on YOUR OWN RISK!
Custom visuals are awesome. It’s easy to import them to Power BI Desktop model and start using them. But, what if you decide to remove them from your model? Is there a way to disable an imported custom visual?
Well, the answer is No and Yes! I mean, NO, there is no specific setting or option you can manage imported custom visuals in Power BI Desktop. But, YES, there is a way you can get rid of an existing custom visual. In this article I show you how to do the job.
First of all, I’d like to inform you that Microsoft will add the feature to disable custom visuals in Power BI Desktop, but, until then you can follow the my trick to completely disable/remove a custom visual from your Power BI Desktop model.
As you might already know a PBIX file is a compressed file indeed, so you can open it with a ZIP editor software like 7-Zip.
- Download and install 7-Zip. It’s a free open source file archiver/compressor
- Download and install Notepad++ which is also free and open source. It’s an awesome text editor
Removing/disabling Custom Visual
- Open you Power BI Desktop model (PBIX file) containing a custom visual
- As you see you need to enable custom visuals, click “Enable custom visuals”
- I used “KPIStatusWithHistory” custom visual in my sample model