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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.