cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sbroaden14
New Member

Trouble filtering a report using query string parameters in URL

Here is the URL i am trying to use: 

https://app.powerbi.com/groups/me/apps/824e0c46-9871-45b1-9b90-40ff696c6084/reports/483fa3b9-23d3-42... eq 'PROD 2020'

Once it's pasted into the browser it addes the additional characters necessary to work.

 

The report comes up fine but the filter appears at the bottom with an error next to it.  As far as I can tell my syntax is correct.  Does anyone know what I might be doing wrong?  

sbroaden14_0-1601048688363.png

 

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi   @sbroaden14 ,

 

Do the suggestions from engineers make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @sbroaden14 ,

 

The dynamic URL filter have the structure : URL?filter=Table/Field eq 'value' . So you may change your link like below, assuming the "Table" in URL below is referred to your fact data table, and the 'PROD 2020' is in field [ProdYear].

 

https://app.powerbi.com/groups/me/apps/824e0c46-9871-45b1-9b90-40ff696c6084/reports/483fa3b9-23d3-42…?filter=Table/ProdYear eq 'PROD 2020'

 

For reference:

 

Filter a report using query string parameters in the URL

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User IV
Super User IV

@sbroaden14 , This seems correct. You Year has Value like 2020 or Prod 2020 ?

Can you share a sample of values you have

 

 

As per this doc, your syntax seems to be correct

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors
Top Kudoed Authors