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
ericOnline
Post Patron
Post Patron

HELP!: URL Parameter not Filtering Slicer Correctly

Hopefully I can explain this clearly. 

I understand the the filter syntax for passing a filter via URL. ("?filter=TableName/ColumnName eq 'someValue'"). Basically ODATA syntax. 

 

Issue:

Passing the parameter: "?filter=LocationTable/LocationColumn eq 'LINCOLN, NE'

 

https://app.powerbi.com/groups/<groupNum>/reports/<reportNum>/ReportSection<sectionNum>?filter=LocationTable%2FLocationColumn%20eq%20%27LINCOLN,%20NE%27

 

Results in:

- The MAP filtered to the parameter in URL, but the dropdown NOT filtered

- Thus all the metrics on the right are all (Blank)

ericOnline_0-1614209962565.png

The dropdown contains the correct value, but its not selected...

ericOnline_1-1614210116336.png

When the correct value IS selected from the dropdown, then everything shows correctly:

ericOnline_2-1614210253359.png

The values in the Dropdown are set to the Location column in the LocationTable. 

 

How do I get this Dropdown to filter correctly from URL Parameter? 

 

Thank yoU!

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

Hi @ericOnline ,

 

You can use multi-selection instead of single-selection and clear the slicer before you save the report or publish the report to the power bi service.

 

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

 

Best Regards,

Dedmon Dai

 

View solution in original post

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @ericOnline ,

 

You can use multi-selection instead of single-selection and clear the slicer before you save the report or publish the report to the power bi service.

 

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

 

Best Regards,

Dedmon Dai

 

v-deddai1-msft
Community Support
Community Support

Hi @ericOnline ,

 

It seems to be by default. When you have a selection on slicer and then you apply url parameter to the report(There's a filter conflict in it)

 

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

 

Best Regards,

Dedmon Dai

Hi @v-deddai1-msft ,

I gleaned that. How do I work around it to make the URL parameter correctly filter the visual?

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