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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
justin_Walkfam
Regular Visitor

Dynamic MQuery parameters URL Filtering

Hello PowerBi Team,

 

Is it possible to set the value of an Dynamic MQuery Parameter from the URL filter?

So for example, if we use the example provided here: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters can we assign the StartDateParameter via a URL like this - ?filter=StartDateTable/StartDate eq '06/08/2021'

 

I tried this but I get an error saying there is a conflict in the visual from what is selected.

"There are conflicting filters being applied to this visual. To fix this, make sure the visual is only filtered once by the same column."

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @justin_Walkfam 

 

I think you have a misunderstanding. The dynamic mquery parameter uses filter or slicer to filter data in the report, not the report url. And the url parapmeter you mentioned doesn't need to be set in the report. You can write the query string directly in the url to filter the data. You can directly use the date column instead of the parameter.

Reference:Filter a report using query string parameters in the URL - Power BI | Microsoft Docs

 

Best Regards

Janey Guo

 

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

View solution in original post

1 REPLY 1
v-janeyg-msft
Community Support
Community Support

Hi, @justin_Walkfam 

 

I think you have a misunderstanding. The dynamic mquery parameter uses filter or slicer to filter data in the report, not the report url. And the url parapmeter you mentioned doesn't need to be set in the report. You can write the query string directly in the url to filter the data. You can directly use the date column instead of the parameter.

Reference:Filter a report using query string parameters in the URL - Power BI | Microsoft Docs

 

Best Regards

Janey Guo

 

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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