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

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

Reply
nehajadhav166
Resolver I
Resolver I

Dynamic/auto creation of object button in report

Hi Experts,

 

I have a column of tests performed and based on a number of tests I want to create a visualization in the report.

In the current report, I am mapping test names with buttons.

Based on the number of tests, is it possible to create buttons in the report like we do in javascript or java?

For example, data is like

Test

Test1

Test2

Test3

 

Buttons in report

Test1
Test2
Test3

 

If tests in the data source are added/removed, buttons in the report are also changed.

Thanks in advance.

 

Regards,

Neha

2 REPLIES 2
nehajadhav166
Resolver I
Resolver I

Hi Amit,

 

The button needs more functionality like color formatting and moving to another page. So I don't think a slicer will suffice that requirement.

Do you know any other way?

 

Thanks,

Neha

amitchandak
Super User
Super User

@nehajadhav166 , if these buttons are just needed for the filter, create a slicer with horizontal orientation

https://docs.microsoft.com/en-us/power-bi/power-bi-slicer-filter-responsive

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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