<?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 contains a value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242470#M119342</link>
    <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am new to DAX and learning thing as I go. I am creating a measure where I wish to give me a count of issues based on certain criteria&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Open Issues Platform = CALCULATE(COUNTROWS('Jira-Extract-Live'), 'Jira-Extract-Live'[All Labels]="Platform"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What I have now found is that my&amp;nbsp;All Labels column contains other values and hence is not matching so my question is (and apolgise if really simply) can the = be substituted to represent 'contains'? So my query would be the same but the ask on the All Labels column would be contains "Platform"?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 14:06:55 GMT</pubDate>
    <dc:creator>Jasper7333</dc:creator>
    <dc:date>2023-05-18T14:06:55Z</dc:date>
    <item>
      <title>contains a value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242470#M119342</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am new to DAX and learning thing as I go. I am creating a measure where I wish to give me a count of issues based on certain criteria&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Open Issues Platform = CALCULATE(COUNTROWS('Jira-Extract-Live'), 'Jira-Extract-Live'[All Labels]="Platform"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What I have now found is that my&amp;nbsp;All Labels column contains other values and hence is not matching so my question is (and apolgise if really simply) can the = be substituted to represent 'contains'? So my query would be the same but the ask on the All Labels column would be contains "Platform"?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 14:06:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242470#M119342</guid>
      <dc:creator>Jasper7333</dc:creator>
      <dc:date>2023-05-18T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: contains a value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242532#M119345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&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;LI-CODE lang="markup"&gt;Open Issues Platform Contain platform =
CALCULATE (
    COUNTROWS ( 'Jira-Extract-Live' ),
    FILTER (
        'Jira-Extract-Live',
        CONTAINSSTRING ( 'Jira-Extract-Live'[All Labels], "Platform" )
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 May 2023 14:35:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242532#M119345</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-05-18T14:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: contains a value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242570#M119346</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;Thank you very much exactly what I needed and has worked a treat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 14:47:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/contains-a-value/m-p/3242570#M119346</guid>
      <dc:creator>Jasper7333</dc:creator>
      <dc:date>2023-05-18T14:47:34Z</dc:date>
    </item>
  </channel>
</rss>

