<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic URL Filters for on-premise reports in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1313381#M15664</link>
    <description>&lt;P&gt;Hi All, We have on-premise power bi reports, We wanted to filter with URL parameters. I have tried like below. But reports are not filtering based on values. Is the feature work with on-premise server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=Table/Field eq 'Value'&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID Test/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If we have space for table or field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID%2FTest/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID%20Test/GroupCode eq 'CB' http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID0x20Test/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out on this.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 05:51:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-21T05:51:56Z</dc:date>
    <item>
      <title>URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1313381#M15664</link>
      <description>&lt;P&gt;Hi All, We have on-premise power bi reports, We wanted to filter with URL parameters. I have tried like below. But reports are not filtering based on values. Is the feature work with on-premise server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=Table/Field eq 'Value'&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID Test/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If we have space for table or field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID%2FTest/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID%20Test/GroupCode eq 'CB' http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID0x20Test/GroupCode eq 'CB'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out on this.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 05:51:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1313381#M15664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-21T05:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1318253#M15677</link>
      <description>&lt;P&gt;This work on my May 2020 instance of PBIRS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;STRONG&gt;If we have space for table or field&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It should be as per the instructions for special characters here&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#special-characters-in-table-and-column-names" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#special-characters-in-table-and-column-names&lt;/A&gt;&amp;nbsp;where you use _x0020_ for a space. So something like the following should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;http://Server/Report Folder/Report Name?rs:Embed=true&amp;amp;filter=COVID&lt;STRONG&gt;_x0020_&lt;/STRONG&gt;Test/GroupCode eq 'CB'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1318253#M15677</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2020-08-24T06:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1318344#M15678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;d_gosbell,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion worked like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I heard query string filtering only works with text data type. Is there any restriction for filtering with query string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;kranthi&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:33:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1318344#M15678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-24T06:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1321050#M15685</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I heard query string filtering only works with text data type. Is there any restriction for filtering with query string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No this is not true, I just filtered on a numeric column and it worked fine. I don't really use URL filtering much myself. I'd expect any limitations to be in the documentation like I posted previously.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 02:04:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/1321050#M15685</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2020-08-25T02:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/2813179#M26565</link>
      <description>&lt;P&gt;I recomend using below pattern to allow users to "bookmark" filters they currently have selected:&lt;/P&gt;&lt;P&gt;(assuming you are using On-Prem PBIRS. PBI.com cahces your last filter options, does not need the below)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my reports, created as a button.&amp;nbsp;Covers most used unichars transformations, add if necessary.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Generate Filter Link = 

VAR VBU = 
IF(
     ISFILTERED('Business'[BU]) = TRUE(),
     VAR ___f = FILTERS ( 'Business'[BU])
     VAR ___r = COUNTROWS ( ___f )
     VAR ___d = CONCATENATEX ( ___f, 'Business'[BU], "%27,%20%27" )
     VAR ___x = "Business/BU%20" &amp;amp; 
        SUBSTITUTE ( 
            SUBSTITUTE ( 
                SUBSTITUTE ( 
                    SUBSTITUTE (
                        SUBSTITUTE ( 
                            SUBSTITUTE ( IF(___r = 1, "eq%20%27" &amp;amp; ___f &amp;amp; "%27", "in%20(%27" &amp;amp; ___d &amp;amp; "%27)")
                            , "&amp;amp;" , "%26" )
                        , "-" , "%2D" )
                    , ")" , "%29" )
                , "(" , "%28" )
            , "," , "%2C" )
        , "/" , "%2F" )
     VAR ___y = IF( ___d = BLANK() , BLANK(), ___x)
     RETURN ___y, BLANK())

VAR VCategory = 
IF(
     ISFILTERED('CategorySegment-Filter'[CategoryCode]) = TRUE(),
     VAR ___f = FILTERS ( 'CategorySegment-Filter'[CategoryCode])
     VAR ___r = COUNTROWS ( ___f )
     VAR ___d = CONCATENATEX ( ___f, 'CategorySegment-Filter'[CategoryCode], "%27,%20%27" )
     VAR ___x = "CategorySegment_x002D_Filter/CategoryCode%20" &amp;amp; 
        SUBSTITUTE ( 
            SUBSTITUTE ( 
                SUBSTITUTE ( 
                    SUBSTITUTE (
                        SUBSTITUTE ( 
                            SUBSTITUTE ( IF(___r = 1, "eq%20%27" &amp;amp; ___f &amp;amp; "%27", "in%20(%27" &amp;amp; ___d &amp;amp; "%27)")
                            , "&amp;amp;" , "%26" )
                        , "-" , "%2D" )
                    , ")" , "%29" )
                , "(" , "%28" )
            , "," , "%2C" )
        , "/" , "%2F" )
     VAR ___y = IF( ___d = BLANK() , BLANK(), ___x)
     RETURN ___y, BLANK())

VAR VSegment = 
IF(
     ISFILTERED('CategorySegment-Filter'[SegmentCode]) = TRUE(),
     VAR ___f = FILTERS ( 'CategorySegment-Filter'[SegmentCode])
     VAR ___r = COUNTROWS ( ___f )
     VAR ___d = CONCATENATEX ( ___f, 'CategorySegment-Filter'[SegmentCode], "%27,%20%27" )
     VAR ___x = "CategorySegment_x002D_Filter/SegmentCode%20" &amp;amp; 
        SUBSTITUTE ( 
            SUBSTITUTE ( 
                SUBSTITUTE ( 
                    SUBSTITUTE (
                        SUBSTITUTE ( 
                            SUBSTITUTE ( IF(___r = 1, "eq%20%27" &amp;amp; ___f &amp;amp; "%27", "in%20(%27" &amp;amp; ___d &amp;amp; "%27)")
                            , "&amp;amp;" , "%26" )
                        , "-" , "%2D" )
                    , ")" , "%29" )
                , "(" , "%28" )
            , "," , "%2C" )
        , "/" , "%2F" )
     VAR ___y = IF( ___d = BLANK() , BLANK(), ___x)
     RETURN ___y, BLANK())
     
VAR VBuyer = 
IF(
     ISFILTERED('Buyer-Link'[Buyer]) = TRUE(),
     VAR ___f = FILTERS ( 'Buyer-Link'[Buyer])
     VAR ___r = COUNTROWS ( ___f )
     VAR ___d = CONCATENATEX ( ___f, 'Buyer-Link'[Buyer], "%27,%20%27" )
     VAR ___x = "Buyer_x002D_Link/Buyer%20" &amp;amp;
        SUBSTITUTE ( 
            SUBSTITUTE ( 
                SUBSTITUTE ( 
                    SUBSTITUTE (
                        SUBSTITUTE ( 
                            SUBSTITUTE ( IF(___r = 1, "eq%20%27" &amp;amp; ___f &amp;amp; "%27", "in%20(%27" &amp;amp; ___d &amp;amp; "%27)")
                            , "&amp;amp;" , "%26" )
                        , "-" , "%2D" )
                    , ")" , "%29" )
                , "(" , "%28" )
            , "," , "%2C" )
        , "/" , "%2F" )
     VAR ___y = IF( ___d = BLANK() , BLANK(), ___x)
     RETURN ___y, BLANK())

var linkuc = COMBINEVALUES(" and ", VBU, VCategory, VSegment, VBuyer)

var linkc0 = IF(VBuyer = BLANK(), SUBSTITUTE(linkuc, " and ", "", 4), linkuc)
var linkc1 = IF(VSegment = BLANK(), SUBSTITUTE(linkc0, " and ", "", 3), linkc0)
var linkc2 = IF(VCategory = BLANK(), SUBSTITUTE(linkc1, " and ", "", 2), linkc1)
var linkc3 = IF(VBU = BLANK(), SUBSTITUTE(linkc2, " and ", "", 1), linkc2)


Var LinkClean = linkc3

VAR FullLink = IF(linkclean = BLANK(), BLANK(), "https://PBIRS/reportfolder/YOUR_REPORT_NAME?rs:embed=true&amp;amp;filter=" &amp;amp; linkclean)

RETURN
FullLink&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:32:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/2813179#M26565</guid>
      <dc:creator>cirosr</dc:creator>
      <dc:date>2022-10-03T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filters for on-premise reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/3207549#M29606</link>
      <description>&lt;P&gt;I haven't been able to get the on prem powerbi reports to accept any filters. Is there any particular setting or circumstances that are needed? I thought I read somewhere that only paginated reports could be filtered with URL.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:58:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/URL-Filters-for-on-premise-reports/m-p/3207549#M29606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-26T14:58:27Z</dc:date>
    </item>
  </channel>
</rss>

