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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Gavroche97
Frequent Visitor

Create graphs in a for loop

Hi,

 

I would like to create n graphs with n evolving according to a parameter selected by the user.

For instance, if the user select a certain model that has 4 variable, then the report will create 4 graphs for each variable. If he choses another model with 8 variable, then 8 graphs will be generated and so on.

Does anyone has an idea of how to do it ? I don't find any ressources on the internet that would give me a clue...

 

Best regards, 

 

Victor

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Gavroche97 

 

After testing, your idea cannot be implemented with parameters. You can try the bookmark feature.

Create page and bookmark navigators - Power BI | Microsoft Learn

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
Thennarasu_R
Responsive Resident
Responsive Resident

My thought Parameter is not possible. You can try with Book mark.created two one is 4 graphs anothers one 8 It will work..It work in single page .page navigator also similar but its only work Different page.

v-zhangti
Community Support
Community Support

Hi, @Gavroche97 

 

After testing, your idea cannot be implemented with parameters. You can try the bookmark feature.

Create page and bookmark navigators - Power BI | Microsoft Learn

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.