cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joemensor
Helper I
Helper I

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
Cubist
Advocate II
Advocate II

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

 

thanks-

Anonymous
Not applicable

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.
Anonymous
Not applicable

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.

Anonymous
Not applicable

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

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...

 

Thanks Ross -

 

Its worth a shot.

itayrom
Resolver II
Resolver II

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?

bgirard
Regular Visitor

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.

 

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.