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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Fonsi
New Member

Paginated report optimization

Is it possible to use a query parameter in a paginated report that sources its data from a Dataflow? Concretely: create a parameter inside the Dataflow (Power Query M) and configure the paginated report so that, when the report runs and the user supplies a project-number parameter, the report only retrieves rows for that project number from the Dataflow. I know this works when the paginated report runs a SQL query with a project-number parameter — can the same be done when the report’s dataset is built from a Dataflow?

1 ACCEPTED SOLUTION
grazitti_sapna
Super User
Super User

Hi @Fonsi 

 

As per my knowledge, It is currently not possible to directly create a query parameter inside a Power Query M Dataflow that dynamically filters data when used as a source for a paginated report in Power BI. Unlike SQL queries where you can define parameters that the paginated report passes for query folding and efficient filtering at source, Dataflows do not support parameterized queries in that way.


The reason being Dataflows are designed as reusable ETL data preparation layers producing static tables once refreshed. The Power Query M parameters inside Dataflows are primarily for design time configuration, not for runtime filtering via report parameters.

 

What you can do:

  • Use report parameters in the paginated report to filter the data after it is retrieved from the Dataflow dataset. This means the full dataset from the Dataflow is fetched and filtering is then applied in the paginated report.
  • For better performance and dynamic query filtering, it's recommended to use SQL or other queryable data sources that support query parameters at execution time.
  • If you want dynamic filtering before data retrieval, consider creating a SQL view or table with parameter filtering and query that from the paginated report instead of the Dataflow.

 

Additional info:

  • Paginated reports in Power BI Report Builder support creating report parameters that can be passed to dataset queries when the data source supports query folding/parameters (e.g, SQL Server).
  • When using Power BI datasets or Dataflows as sources, report parameters typically filter the data on the report side rather than the data retrieval query.

Also sharing some links that might help:

I hope this helps clarify the current capabilities and best practices around parameters with Dataflows and paginated reports.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.

🔗 Curious to explore more? [Discover here].

Let’s keep building smarter solutions together!

 

 

View solution in original post

3 REPLIES 3
V-yubandi-msft
Community Support
Community Support

Hi @Fonsi ,

May I know if your issue has been resolved, or if you still need any additional details? Please let us know if there’s anything else we can help with.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @Fonsi ,

@grazitti_sapna , has provided a helpful response to clarify your question. If you need any additional details or further assistance, please let us know.

Thank you and continue using Microsoft Fabric Community Forum.

 

grazitti_sapna
Super User
Super User

Hi @Fonsi 

 

As per my knowledge, It is currently not possible to directly create a query parameter inside a Power Query M Dataflow that dynamically filters data when used as a source for a paginated report in Power BI. Unlike SQL queries where you can define parameters that the paginated report passes for query folding and efficient filtering at source, Dataflows do not support parameterized queries in that way.


The reason being Dataflows are designed as reusable ETL data preparation layers producing static tables once refreshed. The Power Query M parameters inside Dataflows are primarily for design time configuration, not for runtime filtering via report parameters.

 

What you can do:

  • Use report parameters in the paginated report to filter the data after it is retrieved from the Dataflow dataset. This means the full dataset from the Dataflow is fetched and filtering is then applied in the paginated report.
  • For better performance and dynamic query filtering, it's recommended to use SQL or other queryable data sources that support query parameters at execution time.
  • If you want dynamic filtering before data retrieval, consider creating a SQL view or table with parameter filtering and query that from the paginated report instead of the Dataflow.

 

Additional info:

  • Paginated reports in Power BI Report Builder support creating report parameters that can be passed to dataset queries when the data source supports query folding/parameters (e.g, SQL Server).
  • When using Power BI datasets or Dataflows as sources, report parameters typically filter the data on the report side rather than the data retrieval query.

Also sharing some links that might help:

I hope this helps clarify the current capabilities and best practices around parameters with Dataflows and paginated reports.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.

🔗 Curious to explore more? [Discover here].

Let’s keep building smarter solutions together!

 

 

Helpful resources

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

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.