cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpro1001
New Member

Pre-filter power bi javascript embedded report with dynamic criteria

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?

1 REPLY 1
yingyinr
Community Support
Community Support

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

Configure report settings

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.