Forum Discussion

max14's avatar
max14
Frequent Visitor
2 years ago

Filters to Embed URL in Power BI Embedded

I a, trying to append the filters to the Embed URL in (Power BI Embedded)

I am refering this document 

 https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

 

Manually if i try this its working, but when adding filters to Embed URL its not working.

I also follow this solution but it did not work

 

report.EmbedUrl + "&filter=FundProperty/FundName eq \\'Eagle\\'";

 

My link - report.EmbedUrl&filter=Dates/Month_x0020_Name eq '\\Current%20Month\\'

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, max14 

    I posted a sample report to the service. 

     

    Then delete experience=power-bi and add the filtered statements.

    And here is my preview:

     

    At the same time, you need to pay attention to the type of your data, if it is an exact number, then you don't need single quotes, otherwise the filter will report an error.

     

     

    How to Get Your Question Answered Quickly 

    Best Regards

    Yongkang Hua

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

    • max14's avatar
      max14
      Frequent Visitor

      Anonymous  It works when I do filtering in the services, but when I apply same filter with embeded URL it does not work.