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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors