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

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors