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
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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