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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nirav000715
Frequent Visitor

How to change the format pane setting from theme file in power bi

I've created a custom visual using type script code and it's having capabilities.json file to change the values in the formatting page of the visual. Now, I want to change the formatting pane setting values by using the theme json file. so what atttributes need to be add in the theme json file? does it as per the capabilities.json or any other way? if any one can provide me the solution with example then it would be greate for me.

 

Thanks,

Nirav Rana

3 REPLIES 3
nirav000715
Frequent Visitor

@Uzi2019 : the solution which you suggested, its not working. it just gives me info of creating custom theme and that I already know. I wanted to know if i created custom visual and while creating custom visual I create capabilities.json to add the fields used in the visual. Now I wanted to know how do I change the value of formatting pane of that custom visual using the theme.

nirav000715
Frequent Visitor

Thanks! I will check.

Uzi2019
Super User
Super User

Hi @nirav000715 

 

You can refer MS document for custom theme setting here.

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-fi...

 

and refer below video for better understand.

https://www.youtube.com/watch?v=9RdtnfiDi8Q

https://www.youtube.com/watch?v=m-HFGCFQxbQ

https://www.youtube.com/watch?v=brlEigadwWM

 

I hope above document and vlogs will help you to create custom theme in pOwer Bi.
FYR attaching one file for you.

 

I hope i answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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