<?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: MEASURE - CONTAINSTRING - MULTIPLE TEXT in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4261038#M168877</link>
    <description>&lt;P&gt;thank you so much!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2024 19:03:55 GMT</pubDate>
    <dc:creator>melimob1</dc:creator>
    <dc:date>2024-10-28T19:03:55Z</dc:date>
    <item>
      <title>MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260574#M168848</link>
      <description>&lt;P&gt;Hi, I have the below measure but it's not returning the correct results.&lt;/P&gt;&lt;P&gt;(dummy text as example)&lt;/P&gt;&lt;P&gt;I want to search column and count every time 'apples' or 'oranges' appear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Client Count FRUIT  = 
CALCULATE(
    COUNT(_3_DataSet[Client]),
    CONTAINSSTRING(_3_DataSet[field], "APPLES" ),
        CONTAINSSTRING (_3_DataSet[field], "ORANGE" )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;data set may look like this&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Field&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;apple&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;orange, apple&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;apple, orange&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;d&lt;/TD&gt;&lt;TD&gt;orange, other&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;e&lt;/TD&gt;&lt;TD&gt;burger&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my result should be: 4 as their are 4 rows containing at least the fruit I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:25:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260574#M168848</guid>
      <dc:creator>melimob1</dc:creator>
      <dc:date>2024-10-28T13:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260579#M168849</link>
      <description>&lt;P&gt;actually, think I have just got it to work but would appreciate advice.. I added&lt;/P&gt;&lt;P&gt;|| after the first containstring... does this stand for 'or'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:30:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260579#M168849</guid>
      <dc:creator>melimob1</dc:creator>
      <dc:date>2024-10-28T13:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260730#M168858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="739415" data-lia-user-login="melimob1" class="lia-mention lia-mention-user"&gt;melimob1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's right, ||&amp;nbsp;means OR.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 15:11:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260730#M168858</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-10-28T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260789#M168862</link>
      <description>&lt;P&gt;thank you so much!! am new to PBI and haven't come across this yet!! very good to know!&lt;/P&gt;&lt;P&gt;may I ask, what is the code for 'AND'?&amp;nbsp; is it + or &amp;amp; or and or something completley different?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 16:02:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260789#M168862</guid>
      <dc:creator>melimob1</dc:creator>
      <dc:date>2024-10-28T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260865#M168866</link>
      <description>&lt;P&gt;OR = ||&lt;/P&gt;
&lt;P&gt;AND&amp;nbsp; = &amp;amp;&amp;amp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 17:00:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4260865#M168866</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2024-10-28T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: MEASURE - CONTAINSTRING - MULTIPLE TEXT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4261038#M168877</link>
      <description>&lt;P&gt;thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 19:03:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MEASURE-CONTAINSTRING-MULTIPLE-TEXT/m-p/4261038#M168877</guid>
      <dc:creator>melimob1</dc:creator>
      <dc:date>2024-10-28T19:03:55Z</dc:date>
    </item>
  </channel>
</rss>

