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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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.

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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