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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

How do you implement Custom Visual Capability keepAllMetadataColumns?

Per documentation I added the following to capabilities.json:

"keepAllMetadataColumns": {
    "type": "boolean",
    "description": "Indicates that visual is going to receive all metadata columns, no matter what the active projections are"
}

 

I got this error running pbiviz start:

        error should be boolean .keepAllMetadataColumns

 

There's got to be something more to adding this feature? 

Any help would be appreciated.

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I see the key is not to paste in what is in the documentation, but rather...

"keepAllMetadataColumns": true

 

...which works.  The documentation should not be taken literal.

View solution in original post

2 REPLIES 2
v-jialluo-msft
Community Support
Community Support

Hi  @Anonymous ,

 

If you need to customize the pbiviz file, you can refer to the following link, generally we do not recommend modifying the pbiviz file locally.

Solved: Extracting .ts file from pbiviz file - Microsoft Power BI Community

Solved: How to open the pbiviz file (Power BI Custom visua... - Microsoft Power BI Community

 

Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I see the key is not to paste in what is in the documentation, but rather...

"keepAllMetadataColumns": true

 

...which works.  The documentation should not be taken literal.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors