<?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 Text Filter - Custom Visual - Doesn't do exact text match in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Text-Filter-Custom-Visual-Doesn-t-do-exact-text-match/m-p/2696642#M4878</link>
    <description>&lt;P&gt;Below is the requirement:&lt;/P&gt;&lt;P&gt;1. Slicer to search &lt;STRONG&gt;Account #&lt;/STRONG&gt; (Slicer shouldn't show the list of Account # to select) and user can copy and paste the Account # and hit enter to search and view report results&lt;/P&gt;&lt;P&gt;2. Length of Account # could vary from 6-12&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current State:&lt;/P&gt;&lt;P&gt;1. Text filter visual used in the report however it uses "contains" instead of "in"/"equals" and doesn't perform an exact match based on the input. e.g.&lt;/P&gt;&lt;P&gt;Slicer value = A1 returns results like&lt;/P&gt;&lt;P&gt;&amp;nbsp;AA1&lt;/P&gt;&lt;P&gt;A1&lt;/P&gt;&lt;P&gt;BA1 etc..&lt;/P&gt;&lt;P&gt;It should return A1 only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I tried to use SELECTEDVALUE ,CONCATENATEX to get the list of values by length in ascending order where COUNTROWS (Slicer[Account])&amp;gt;1 and fetch the 1st value from the delimited text but it doesn't seem to work for all scenarios.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The 2nd option is to customise the Text Filter custom visual.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be greatly appreciated if I can get some guidance around the above options.&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 05:33:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-12T05:33:26Z</dc:date>
    <item>
      <title>Text Filter - Custom Visual - Doesn't do exact text match</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Text-Filter-Custom-Visual-Doesn-t-do-exact-text-match/m-p/2696642#M4878</link>
      <description>&lt;P&gt;Below is the requirement:&lt;/P&gt;&lt;P&gt;1. Slicer to search &lt;STRONG&gt;Account #&lt;/STRONG&gt; (Slicer shouldn't show the list of Account # to select) and user can copy and paste the Account # and hit enter to search and view report results&lt;/P&gt;&lt;P&gt;2. Length of Account # could vary from 6-12&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current State:&lt;/P&gt;&lt;P&gt;1. Text filter visual used in the report however it uses "contains" instead of "in"/"equals" and doesn't perform an exact match based on the input. e.g.&lt;/P&gt;&lt;P&gt;Slicer value = A1 returns results like&lt;/P&gt;&lt;P&gt;&amp;nbsp;AA1&lt;/P&gt;&lt;P&gt;A1&lt;/P&gt;&lt;P&gt;BA1 etc..&lt;/P&gt;&lt;P&gt;It should return A1 only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I tried to use SELECTEDVALUE ,CONCATENATEX to get the list of values by length in ascending order where COUNTROWS (Slicer[Account])&amp;gt;1 and fetch the 1st value from the delimited text but it doesn't seem to work for all scenarios.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The 2nd option is to customise the Text Filter custom visual.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be greatly appreciated if I can get some guidance around the above options.&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 05:33:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Text-Filter-Custom-Visual-Doesn-t-do-exact-text-match/m-p/2696642#M4878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-12T05:33:26Z</dc:date>
    </item>
  </channel>
</rss>

