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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sarikachima
Regular Visitor

Multiple Object for one Visual

I want to know , how can I make more than one instances of a single object of a visual class? I want more than one category buttons in my report on a single page. I want them to behave in a different way. Can I change their appearance and behaviour differently in a single Json file?

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @sarikachima ,

 

If I understand correctly, you don't need to change the JSON file, just set it in the desktop.

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-buttons 

 

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

View solution in original post

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @sarikachima ,

 

If I understand correctly, you don't need to change the JSON file, just set it in the desktop.

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-buttons 

 

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

amitchandak
Super User
Super User

@sarikachima ,

One Json, will enable one theme. And you can load only one.  You might change color of other.

 

Can you please explain the requirement with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for your reply Sumit.

I want to add one visual at more than one place on my page. For example : " I want a set of button at top and a set of buttons at the bottom of page. And I need both sets to be different in colors and behaviour. How do I do that by changing code in Json file?

As in the Slicer below, Can I have two different title styles for two seperate slicers?

 

 "slicer": {
            "*": {
                "Chiclets": [
                    {
                        "selectedColor""#6B007B"
                    }
                ],
                "header": [
                    {
                        "show"true
                    }
                ],
                "title": [
                    {
                        "show"true,
                        "fontSize"12,
                        "fontColor": {
                            "solid": {
                                "color""#FF9800"
                            }
                        }
                    }
                ]
            }
any help would be appreciated.
Thanks

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors