<?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: Text filter need to restrict the wild card search drill through to the exact match input from field in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4281891#M169929</link>
    <description>&lt;P&gt;Thanks for your response it almostworking fine untill we dont have any similar records in the data. For example you can add Velo1 value in the product column and check the same scenario. it is not working for the similar record I tried from my end. so&amp;nbsp; can you please alter the code and send me the upadted one if possible. Thank you so much in advance for your prompt response.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 13:59:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-13T13:59:14Z</dc:date>
    <item>
      <title>Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3996722#M155360</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Step-1&lt;/P&gt;&lt;P&gt;I have a requirement like on one screen I have implemented the Text custom filter here user trying to serch some thing and exact data is matching then I need to populate a pop up that matched else not matched. how can I achieve this through DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same filter i have used in another page by using the sync slicer functionality, if that record is matched the same will drill through the next page and showing the same matching record with respective to the selected item from the first seen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: That exact match should shown not the matched data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected scenario&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Trying to search "Velo" from page one give me that exact match records on drill through page&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;&lt;STRONG&gt;Not Expected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to search from "V" it should not give the matched records like below screenshot, if not matching any value then need to&amp;nbsp; show the custom message like "no data available in red colour"&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could some one please help me in this scenario. that really help me a lot if someone solves this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 18:09:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3996722#M155360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-17T18:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997264#M155425</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my test, I hope it can help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create a slicer table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;product slicer = VALUES('Table'[Product])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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;2. Create a measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
IF (
    SELECTEDVALUE ( 'product slicer'[Product] ) = BLANK (),
    0,
    IF (
        CONTAINSSTRINGEXACT (
            SELECTEDVALUE ( 'product slicer'[Product] ),
            MAX ( [Product] )
        ),
        1,
        0
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;Put the measure into the visual-level filters, set up show items when the value is 1.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;4. "When there is no value matching for what you want, a pop-up window is displayed". I'm afraid it can't be achieved directly, the following method is for your reference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure as follows:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR _count = CALCULATE(COUNT('Table'[Product]), FILTER('Table', [Measure] = 1))
RETURN
IF(_count &amp;lt;&amp;gt; 0 || _count &amp;lt;&amp;gt; BLANK(), BLANK(), "no data available in red colour")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final Output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 03:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997264#M155425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T03:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997471#M155444</link>
      <description>&lt;P&gt;Thanks For your Reply. Its working fine as expected. Thank you so much&lt;/P&gt;&lt;P&gt;I just modified the measure2&amp;nbsp; below&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt; &lt;SPAN&gt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t;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Note: Is there any chance to apply the colour coding "Data Found Click on View Data" (This is in Green Colour) and&amp;nbsp;"No Records Found" (This is in Red colour) If you can solve this. That really a great help for me.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank You so much once again.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 05:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997471#M155444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T05:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997571#M155454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will show only for the exact match. Below is the test case with I tried "Ve" that means not exact match in this scenario also data should not appear. below is the screenshot for reference.&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;</description>
      <pubDate>Tue, 18 Jun 2024 06:26:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/3997571#M155454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4062010#M161241</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the above scenario is working fine but we have another requirement like if the value is matching we provide some custom message like " Data is available" this custom message in (green in colour), if not&amp;nbsp; matching the record, then it will showing another message like "No data available " this is in Red in colour) after modifying your measure 2 query like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 2 =&lt;BR /&gt;VAR _count = CALCULATE(COUNT('Table'[Product]), FILTER('Table', [Measure] = 1))&lt;BR /&gt;RETURN&lt;BR /&gt;IF(_count &amp;lt;&amp;gt; 0 || _count &amp;lt;&amp;gt; BLANK(), "No data available", "Data is available")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I used this measure 2 in some text box in my report. but here is one problem, if user not entering any value in the text filter the message will not go away. That will misleading to the user like he is not entering any data its showing the message that is incorrect. is there any way to restrict that in our dax formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If user not entering any value in the text filter that text box should show empty, if they enterns any value that qrecord is matcing then show right message else show the " No data available " mesaage that is in red colour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please look into my concern and do the needful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance for your kind help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 17:24:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4062010#M161241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-25T17:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4068209#M161501</link>
      <description>Hi, Is there any scenario to achieve this if exact match give some message like "Data matched" if not match "Not matched" else should populate as null. I need this requirement business is strictly need this one please check whether it is possible. Thank you for your kind help</description>
      <pubDate>Tue, 30 Jul 2024 04:36:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4068209#M161501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-30T04:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4281891#M169929</link>
      <description>&lt;P&gt;Thanks for your response it almostworking fine untill we dont have any similar records in the data. For example you can add Velo1 value in the product column and check the same scenario. it is not working for the similar record I tried from my end. so&amp;nbsp; can you please alter the code and send me the upadted one if possible. Thank you so much in advance for your prompt response.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 13:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4281891#M169929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-13T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Text filter need to restrict the wild card search drill through to the exact match input from field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4321999#M171583</link>
      <description>&lt;P&gt;I just recreated this, but it's not working as shown in this post. If I try VE both VTT and Velo results come back.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:00:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-filter-need-to-restrict-the-wild-card-search-drill-through/m-p/4321999#M171583</guid>
      <dc:creator>Mobious</dc:creator>
      <dc:date>2024-12-10T15:00:46Z</dc:date>
    </item>
  </channel>
</rss>

