<?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: trying to do a count if there is more than once value next to a persons name in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650486#M78114</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the swift response - will this look at the students name also? So in english not a formular I need (best way for me to explain sorry!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if "bob" has "enrichment - culture" more then 1 time, say "yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 13:08:18 GMT</pubDate>
    <dc:creator>emcarwardine</dc:creator>
    <dc:date>2022-07-20T13:08:18Z</dc:date>
    <item>
      <title>trying to do a count if there is more than once value next to a persons name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650387#M78105</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very new to power bi. I am trying to do a count, if formula where a student has a achievement categorie next to their name at least once, the formula will say yes no. for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Achievement Type&lt;/TD&gt;&lt;TD&gt;Count for Enrichment Type is more than once for culture&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BOB&lt;/TD&gt;&lt;TD&gt;Enrichment - Culture&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BOB&lt;/TD&gt;&lt;TD&gt;Enrichment - Culture&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JENNY&lt;/TD&gt;&lt;TD&gt;Enrichment - Culture&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JENNY&lt;/TD&gt;&lt;TD&gt;Enrichment - Culture&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;basically a count then if more than 0 say yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anymore know how this can be done?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650387#M78105</guid>
      <dc:creator>emcarwardine</dc:creator>
      <dc:date>2022-07-20T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: trying to do a count if there is more than once value next to a persons name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650431#M78111</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="414974" data-lia-user-login="emcarwardine" class="lia-mention lia-mention-user"&gt;emcarwardine&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to add a new column with DAX like this:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Count for Enrichment = 
IF('Table'[Achievement Type]&amp;lt;&amp;gt;blank(),"Yes","No")&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:55:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650431#M78111</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2022-07-20T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: trying to do a count if there is more than once value next to a persons name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650486#M78114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the swift response - will this look at the students name also? So in english not a formular I need (best way for me to explain sorry!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if "bob" has "enrichment - culture" more then 1 time, say "yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650486#M78114</guid>
      <dc:creator>emcarwardine</dc:creator>
      <dc:date>2022-07-20T13:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: trying to do a count if there is more than once value next to a persons name</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650504#M78115</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="414974" data-lia-user-login="emcarwardine" class="lia-mention lia-mention-user"&gt;emcarwardine&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh Ok, try this then:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Count for Enrichment =
IF (
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER (
            ALL ( 'Table' ),
            'Table'[Name] = EARLIER ( 'Table'[Name] )
                &amp;amp;&amp;amp; 'Table'[Achievement Type] = "Enrichment - Culture"
        )
    ) &amp;gt; 1,
    "Yes",
    "No"
)
&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider &lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.credly.com/users/vahid-doustimajd/badges" target="_blank"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt; | &lt;A href="https://twitter.com/VahidDMcom" target="_blank" rel="noopener noreferrer"&gt;Twitter&lt;/A&gt; | &lt;A href="https://www.vahiddm.com/" target="_blank" rel="noopener noreferrer"&gt;Blog&amp;nbsp;&lt;/A&gt;| &lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;YouTube&lt;/A&gt;&lt;A href="https://www.youtube.com/channel/UCF-uQfGF8de-EWnR9b2UQhQ" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:13:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-do-a-count-if-there-is-more-than-once-value-next-to-a/m-p/2650504#M78115</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2022-07-20T13:13:03Z</dc:date>
    </item>
  </channel>
</rss>

