cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joemensor Regular Visitor
Regular Visitor

Problems updating Custom Visuals in Power BI Desktop

Since I have updated to the April release of Power BI desktop, if I make changes to my visual in the dev tools, re-import and test, changes are not reflected. I have to shutdown and restart Power BI desktop! 

 

Why has this changed and can I get Power BI desktop to reload an updated custom visual!?

8 REPLIES 8
bgirard Frequent Visitor
Frequent Visitor

Re: Problems updating Custom Visuals in Power BI Desktop

I have the same issue...  Any news regarding this? 

 

To reproduce;

1- Create a custom visual in using https://app.powerbi.com/devTools

2- Export custom visual as a pbiviz

3- Open PowerBi Desktop, import a dataset

4- Import the pbiviz

5- Save and close PowerBI Desktop

6- Update custom visual in using https://app.powerbi.com/devTools

7- Export new version of custom visual, overwriting the pbix

8- Open PowerBi Desktop with the pbix saved at step 5

 

The viz in the pbix is still the previous viz from step 4.  Reimporting the pbviz again, does not work, the viz is still the old one, not the new one from step 7.

 

This means that any pbix containing a version of the custom viz will not be updated with new versions. 

A- FOR TESTING: As we must spend time reloading the custom viz in an empty pbix, and recreate a test report each time.  We cannot simply have one test reports, just reload it, update the pbiviz.

B- FOR PRODUCTION:  pbix build using a custom viz will be stuck with that version.  Updating to a new version of the pbiviz will require a complete rebuild of all the reports from a clean, data only pbix.

 

itayrom Member
Member

Re: Problems updating Custom Visuals in Power BI Desktop

I encountered this issue as well. Couldn't find a workaround yet.

Did anybody issue a formal ticket to Microsoft yet, or should I do the honors?

Cubist Regular Visitor
Regular Visitor

Re: Problems updating Custom Visuals in Power BI Desktop

Same problem almost a year later.  If anyone solved it please advise.

 

thanks-

Super User
Super User

Re: Problems updating Custom Visuals in Power BI Desktop

This is going to sound like a strange solution but i had the same problem and this is what i did to fix it:

 

Find the GUID in your file.  Everywhere you have references this GUID, increment the number by 1.

 

Everytime you need to import a changed version of your visual, you will need to update the value.  It seems to remember


   

              Did I answer your question? Mark my post as a solution!
       

Proud to be a Datanaut!


   


Cubist Regular Visitor
Regular Visitor

Re: Problems updating Custom Visuals in Power BI Desktop

Thanks Ross -

 

Its worth a shot.

Cubist Regular Visitor
Regular Visitor

Re: Problems updating Custom Visuals in Power BI Desktop

Fyi, someone from MS is currently attempting to help with this issue on another thread.

 

I started this thread to try and consolidate this question and what appear to be two other related questions on the same topic:

https://community.powerbi.com/t5/Developer/How-is-fast-iteration-coding-done-with-a-PBI-Custom-Visua...

 

adriennn Visitor
Visitor

Re: Problems updating Custom Visuals in Power BI Desktop

Actually, the only place where the guid id needs to be incremented is in the pbiviz.jons file:

for example:

 
{
"visual": {
  "name": "d3jsvisual",
  "displayName": "D3V5JSVisual",
  "guid": "D3JSVisual_PBI_CV_CDD143DEC3A145E7A507B562AF6CF492",
  "visualClassName": "D3JSVisual",
  "version": "2.0.0",
  "description": "",
},
"apiVersion": "1.11.0"
}
 
Then when you run 'pbiviz package', the new guid is used.
Super User
Super User

Re: Problems updating Custom Visuals in Power BI Desktop

It might be worth nothing that this thread came about from a much earlier version of the API.  I think its a bit different now.


   

              Did I answer your question? Mark my post as a solution!
       

Proud to be a Datanaut!