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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.