<?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 Re: URL Filtering not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3116249#M110335</link>
    <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523679" data-lia-user-login="Kushagra" class="lia-mention lia-mention-user"&gt;Kushagra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's odd that it's not working at your end. Have you had any success since your last message?&lt;/P&gt;
&lt;P&gt;I have created and published a report essentially identical that in your last post, and the URL filter you posted works as intended. I used an account without a Pro licence and published to My Workspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 11:57:23 GMT</pubDate>
    <dc:creator>OwenAuger</dc:creator>
    <dc:date>2023-03-07T11:57:23Z</dc:date>
    <item>
      <title>URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3110519#M109846</link>
      <description>&lt;P&gt;Hi I have tried filtering powerbi report using url filters, &lt;STRONG&gt;but unable to make it filter the published report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;EM&gt;url of report&lt;/EM&gt;}/ReportSection?filter='Sheet1'/name eq 'Samuel Jack'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreaciated. Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 14:58:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3110519#M109846</guid>
      <dc:creator>Kushagra</dc:creator>
      <dc:date>2023-03-03T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3111531#M109942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523679" data-lia-user-login="Kushagra" class="lia-mention lia-mention-user"&gt;Kushagra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A couple of suggestions that may help:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Does your table Sheet1 contain the column &lt;STRONG&gt;Sheet1[name]&lt;/STRONG&gt;?&lt;BR /&gt;Just checking, since the column used in the visual appears to be &lt;STRONG&gt;name column&lt;/STRONG&gt;.&lt;BR /&gt;If it doesn't exist, you could create a &lt;STRONG&gt;name&amp;nbsp;&lt;/STRONG&gt;column and set it equal to&amp;nbsp;&lt;STRONG&gt;name column&lt;/STRONG&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Column names used in URL parameter filters only work if they don't contain spaces.&lt;/LI&gt;
&lt;LI&gt;In my testing, filters will not work if table names are enclosed in single quotes, so remove the single quotes around &lt;STRONG&gt;Sheet1&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Putting this together, as long as your table &lt;STRONG&gt;Sheet1&lt;/STRONG&gt; contains the column &lt;STRONG&gt;name&lt;/STRONG&gt;, this should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{url of report}/ReportSection?filter=Sheet1/name eq 'Samuel Jack'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 11:05:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3111531#M109942</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2023-03-04T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3113068#M110087</link>
      <description>&lt;P&gt;Hi Owen,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried using a new report, with correct names of table and columns, but it still wont work. Is this a limitation of PowerBI Pro license for a report that is published?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How my data looks has been shared below for reference -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Visualization view -&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After publishing, my url to test this filtering is -&amp;nbsp;{url of the report}/ReportSection?filter=Salary/emp eq 'Jack'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet there is no update on the filter (both with and without filter lock on PowerBI desktop)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 06:32:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3113068#M110087</guid>
      <dc:creator>Kushagra</dc:creator>
      <dc:date>2023-03-06T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3116249#M110335</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523679" data-lia-user-login="Kushagra" class="lia-mention lia-mention-user"&gt;Kushagra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's odd that it's not working at your end. Have you had any success since your last message?&lt;/P&gt;
&lt;P&gt;I have created and published a report essentially identical that in your last post, and the URL filter you posted works as intended. I used an account without a Pro licence and published to My Workspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 11:57:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3116249#M110335</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2023-03-07T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3689293#M143348</link>
      <description>&lt;P&gt;I am trying to use a URL for Employee Name.&amp;nbsp; Does the limitation for filtering on a URL still have to be a single name without spaces?&amp;nbsp; Or, does anyone have other suggestions to work around this?&amp;nbsp; We have a page with multiple reports/visuals, all relating to the Employee.&amp;nbsp; I'm trying to see if I give the URL to this page, but then just with a specific Employee Name, how to do this.&lt;/P&gt;&lt;P&gt;Thank you for any suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 20:34:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3689293#M143348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-08T20:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3689408#M143353</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes spaces are allowed in the URL filter parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, I published the attached PBIX and this form of URL filters the report correctly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://app.powerbi.com/groups/me/reports/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/ReportSection?filter=Employee/Name eq 'Will Graham' &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial, helvetica, sans-serif"&gt;The spaces and other punctuation marks within the parameter will be converted with percent-encoding (%20 etc) and can also be entered that way in the first place.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial, helvetica, sans-serif"&gt;Regards&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 21:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/3689408#M143353</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-02-08T21:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/4012515#M158014</link>
      <description>&lt;P&gt;What if in my case, the column names contains space, is there a way to make this work by url filter?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 04:21:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/4012515#M158014</guid>
      <dc:creator>Janey2024</dc:creator>
      <dc:date>2024-06-27T04:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: URL Filtering not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/4013351#M158071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="766791" data-lia-user-login="Janey2024" class="lia-mention lia-mention-user"&gt;Janey2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, see &lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#special-characters-in-table-and-column-names" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If table or column names contain spaces, they can be encoded as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_x0020_&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just tested this with one of my own reports and it's working as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, to apply a filter equivalent to this DAX expression&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;'Employee Table'[Employee Name] = "Jack"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a valid report URL would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://app.powerbi.com/groups/me/reports/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/ReportSection?filter=Employee_x0020_Table/Employee_x0020_Name eq 'Jack'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other special characters can be encoded similarly with &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;0020&lt;/FONT&gt;&lt;/STRONG&gt; being replaced by the 4-digit Unicode hex code of the character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 11:42:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URL-Filtering-not-working/m-p/4013351#M158071</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-06-27T11:42:22Z</dc:date>
    </item>
  </channel>
</rss>

