cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kpatterson2 Frequent Visitor
Frequent Visitor

Modified Power BI custom visual and generated new pbiviz file, but not seeing changes

I'm learning about creating custom visuals, so after doing the bar chart tutorial, I downloaded the WordCloud custom visual (https://app.powerbi.com/visuals/show/WordCloud1447959067750) and modified it slightly just to see if I could see the changes reflected back but it looks the same as always. I modified capabilities.json to change the label "Data colors" to be "Data colors 2" on the formatting section that you see when you want to change the colors it uses.  Then I changed the 2500 limit to 50000.  I generated a new pbiviz file (ran "pbiviz package" in the node.js command line) and it updated the pbiviz file in the /dist folder. When I imported it into Power BI desktop and powerbi.com, it still said "Data colors" and seemed to be using the 2500 limit, although that one is harder to tell. What am I doing wrong? Is there another place to change this? I searched the whole project for "Data colors" and that's the only spot.  I had a coworker import it and he did not see the changes either. 

 

Change #1 in capabilities.json:

 "dataPoint": {
            "displayName": "Data colors 2",
            "properties": {
                "fill": {
                    "displayName": "Fill",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
...

Change #2 in capabilities.json:

 

 "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {
                            "count": 50000  //changed this from 2500
                        }
                    }
                },
                "values": {
                    "for": {
                        "in": "Values"
                    }
                }
            }

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Modified Power BI custom visual and generated new pbiviz file, but not seeing changes

@kpatterson2,

 

It seems that you are facing the same issue in this thread(http://community.powerbi.com/t5/Developer/Tweaking-an-existing-Custom-Visual-the-change-is-successfu...).

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: Modified Power BI custom visual and generated new pbiviz file, but not seeing changes

@kpatterson2,

 

It seems that you are facing the same issue in this thread(http://community.powerbi.com/t5/Developer/Tweaking-an-existing-Custom-Visual-the-change-is-successfu...).

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
kpatterson2 Frequent Visitor
Frequent Visitor

Re: Modified Power BI custom visual and generated new pbiviz file, but not seeing changes

Thanks, the steps in that solution worked. I had to change the guid before packaging it again.  Given that before I did this, when I uploaded it, it asked if I wanted to update the visual, I got the impression I could update an existing one. 

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 308 members 3,204 guests
Please welcome our newest community members: