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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Super User

@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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors