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

View all the Fabric Data Days sessions on demand. View schedule

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
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