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
_Slowpoke
Frequent Visitor

Filter a Power BI Tile using query string paramaters and IN operator.

I'm trying to filter a power Bi Tile on my PowerApps application, as it written in this article: https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

It's works well with the "eq" operator but when I tried to use the "in" operator it doesn't work.

For example adding this to the end of the TileUrl works:

 

&filter=Etat_Consigne_Approb/Approbateur eq ('XXXX xxxx')

 

But this doesn't work:

 

&filter=Etat_Consigne_Approb/Approbateur in ('XXXX xxxx','ZZZZ zzzz')

 

 

Thanks by advance

 

I can provide other info if necessary

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

Hi , @_Slowpoke 

According to my research, each value in the set after the in operator needs to be separated by a space, you can try something like this

&filter=Etat_Consigne_Approb/Approbateur in ('XXXX xxxx', 'ZZZZ zzzz')

Here is an introduction document about the operator in the URL filter, you can see and try according to the example inside:

OData IN Operator filter function - OData | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

View solution in original post

2 REPLIES 2
Alzo
New Member

Was this solved? I can use the 'in' operator for a full report but not for a tile?

v-yueyunzh-msft
Community Support
Community Support

Hi , @_Slowpoke 

According to my research, each value in the set after the in operator needs to be separated by a space, you can try something like this

&filter=Etat_Consigne_Approb/Approbateur in ('XXXX xxxx', 'ZZZZ zzzz')

Here is an introduction document about the operator in the URL filter, you can see and try according to the example inside:

OData IN Operator filter function - OData | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

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