Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Anyone know how I can pre-filter my data? I'm using the javascript client and embedded the report using the power bi service. Right now, it seems to get all of the data first then filter on the client. For example, I want to filter by the current month date range, but still allow the user to alter the date range and have it then fetch the extra data from sql server. How about directQueries. Would they allow pre-filters at the sql server source?
Hi @jpro1001 ,
You can refer the content in the following links to get it:
Embed your Power BI report with predefined filters
How to Embed and Filter a Power BI Report with the new Power BI Embedded JavaScript API
Best Regards
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |