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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
evano_oruvan
Frequent Visitor

url filter not working because of & HELP PLEASE

This is my column name and value below.

ASSET_NAME
mats&service
 


Below is the dax code i use to get data from table and create a link to filter the my page, but it wont work when value(mats&service) in column(ASSET_NAME) has & in it, the link gets terminated at & like this 
https:/app.powerbi.com/?filter/somerandomtextand%20andthesemats
and the filter wont work, can someone help me escape this & so that value is accepted and filtered in my page,

RawData =
MAX ('Raw data'[Raw Data])&"?filter=Table/ASSET_NAME eq"&" '"
& MAX ( CurrentData[ASSET_NAME] )&"' and Table/LEVEL1 eq"&" '"
& MAX ( CurrentData[LEVEL])&"' and Table/DOS_NO eq"&" ' "
& MAX ( CurrentData[RULE_NO] )&" ' "

1 ACCEPTED SOLUTION
evano_oruvan
Frequent Visitor

Solution:

 

SUBSTITUTE( MAX ( CurrentData[ASSET_NAME] ),"&","%26").

View solution in original post

2 REPLIES 2
evano_oruvan
Frequent Visitor

Solution:

 

SUBSTITUTE( MAX ( CurrentData[ASSET_NAME] ),"&","%26").

Anonymous
Not applicable

Hi @evano_oruvan ,

Power BI Report Server does support URL filter. Try something like this:

 

https://reportserver/reports/powerbi/YourReport?rs:Embed=true&filter=Occurrence/Occurrence_x0020_Type eq 'Custody'

 

Reference: Filter a report using query string parameters in the URL


  • Power BI Report Server also supports the ability to specify additional filters using the “filter” URL parameter. Here's an example of what the URL might look like in Power BI Report Server: https://reportserver/reports/powerbi/Store Sales?rs:Embed=true&filter= Store/Territory eq 'NC' and Store/Chain eq 'Fashions Direct'

 

I have also found a similar post, please refer to it to see if it helps you.

Solved: URL Filtering Not Working - Microsoft Power BI Community

  • The article syntax states ?filter; however, &filter is the correct syntax.

Best Regards

Community Support Team _ Polly

 

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

 

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors