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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dixus
Frequent Visitor

Filter page using query parameter

Hello,

 

i've found this post that shows how to filter a report using query parameters.

 

https://app.powerbi.com/groups/me/reports/8d6e...?filter=Store/TerritoryChain eq 'NC'

Unfortunately, I can't get it to work. I assume that it should also work on hidden pages (drillthrough destinations)?
In addition, my table name does not consist of only one word. I have tried it in several ways, but the filter is never applied:

 

https://app.powerbi.com/groups/34...b2/reports/1d...64f/ReportSection76ad...0b68c?filter='My Table'/ColumId eq 'b5aa0e97-5c8b-4b10-92a7-6f8cfe4f01e2'

What am i doing wrong here? Is there a special syntax or are only "single word"-named tables possible?


Second Question to that topic: Is there away to clear all other page filters using a query string parameter too?

Kind regards,

Holger

 

 

 

 

1 ACCEPTED SOLUTION

I can't find a way to get that syntax to work with a space in the table name. Can you just rename your table?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

Have you tried %20 in your table name, so 'My%20Table'?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...


@Greg_Deckler wrote:

Have you tried %20 in your table name, so 'My%20Table'?


yes.. also the browser also url encodes spaces automatically.. 

I can't find a way to get that syntax to work with a space in the table name. Can you just rename your table?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...


@Greg_Deckler wrote:

I can't find a way to get that syntax to work with a space in the table name. Can you just rename your table?


Yes, that is what I have done now, but was not my desired solution.

If the multiword tables in the service are valid, it should be documented that this kind of table name syntax is not supported for the query paramater.

Thanks for your answers Greg,

Holger

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors
Top Kudoed Authors