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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Direct Query and URL Filtering

Hi All,

 

I am wondering if anyone has come up against the issue I'm experiencing.

 

I have a dataset that is using direct query.  Which works fine once you are in the report.  The issue I am facing is, I have an automated process that produces a report URL passing in a filter for a particular user.  This does not seem to trigger the direct query to get the most recent data from the database.  It pulls the most recent cached data on the service.

 

My question is how do I get Direct Query to function passing a parameter in the URL string to retrieve the most recent data?

 

Any assistance would be welcome.

3 REPLIES 3
v-cherch-msft
Employee
Employee

Hi @Anonymous 

Please check if the below post could help you.

https://community.powerbi.com/t5/Community-Blog/Using-the-Power-BI-Service-Parameters-to-change-connection/ba-p/392016

Regards,

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

Thanks for the reply...the post you referenced was in regards to changing the data source using parameters.  What I am trying to accomplish is triggering a direct query through URL filtering.

 

Right now, when I use a URL filter it displays the report with data cached in the service.  I want it to refresh and pull the most recent data from the database.

 

All sources are set up for direct query.

@Anonymous I am running into the issue, did you ever find a solution?

Thanks,

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors