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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
julesdude
Post Partisan
Post Partisan

Can a Selected Date in Report be Passed to Query in M and Query Refresh Using this New Parameter

Hi,

I think the answer to this is not possible, but there may be a workaround I hadn't thought of. 

I have a table in my data model which is populated by data from a webservice RestAPI. Request is sent and returned using json.

This particular table will only return results if you send in the request body a filter operator to specify a single date from the As Of Date field of the table, to return the results. This is all achieved in M.

In my report canvas there is a date picker. I was wondering if you can pass the date chosen by the user here as a sort of parameter to the query in M, run the query again to refresh the data with the new date, and that new refreshed data is now utilised in the report.

Is it possible? If not, is there a workaround? This must also work in the Service too as most people will be viewing the report in the browser there.

 

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.