Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
AakashMarasini
Frequent Visitor

Update in visual.ts and capabilities.json file is not reflecting in the visual in Power BI App.

Hi Developers,

I have updated some code in the visual.ts file and changed the display name of Data roles in the capabilites.Json file. Even after the successful run of command: pbiviz start, the result of the updated code and display name is not updated in the custom visual in Power BI App. What might be the reason for this?
How this issue could be solved?

Thanks!

pbivizstart.png

 

1 ACCEPTED SOLUTION
smpa01
Super User
Super User

@AakashMarasini 

{
the result of the updated code
// this is highly unlikley for a dev, if it is for prod you need to manually import
//the newly packaged .pbiviz in order to have the new code reflectd there

and

display name is not updated
// did you update the pbiviz.json with the new name?
// if yes, make sure to manually import the newly packaged .pbiviz
}
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

View solution in original post

1 REPLY 1
smpa01
Super User
Super User

@AakashMarasini 

{
the result of the updated code
// this is highly unlikley for a dev, if it is for prod you need to manually import
//the newly packaged .pbiviz in order to have the new code reflectd there

and

display name is not updated
// did you update the pbiviz.json with the new name?
// if yes, make sure to manually import the newly packaged .pbiviz
}
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors