Forum Discussion
nagaraj
Post Patron
6 years agoFilters to Embed URL in Power BI Embedded
Hi, I have a requirement to append the filters like below to the Embed URL in (Power BI Embedded) ?filter=Store/Territory eq 'NC' and Store/Chain eq 'Fashions Direct' Was following as me...
- 6 years ago
I was able to add URL filters to Embed URL and its working. Below is the syntax i used
report.EmbedUrl + "&filter=FundProperty/FundName eq \\'Eagle\\'";
Regards
Nagaraj
nagaraj
Post Patron
6 years ago
I was able to add URL filters to Embed URL and its working. Below is the syntax i used
report.EmbedUrl + "&filter=FundProperty/FundName eq \\'Eagle\\'";
Regards
Nagaraj
v-deddai1-msft
Community Support
6 years agoHi nagaraj,
I noticed that your URL contains \\ before and after Eagle. Is it escape character?
Best Regards,
Dedmon Dai
- nagaraj6 years ago
Post Patron
yes those are escape characters. We are passing the URL from dotnet to Javascript API, hence the first slash is escape sequence in C# and the second one is for escape sequence for Javascript Regards Nagaraj- v-deddai1-msft6 years ago
Community Support
Hi nagaraj ,
Thank you for sharing the solution and explaining it for me , Would you please accept your reply as answer that people with same issue would find it more quickly.
Best Regards,
Dedmon Dai
- nagaraj6 years ago
Post Patron
done.