<?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: Card and if statement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1198178#M19085</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&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;Try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Meaure 3 =
VAR a =
    COUNT ( CheckforforgottenentriesLastyear[Course Key] )
RETURN
    IF (
        a &amp;gt;= 2,
        "Warning",
        "All Good"
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 14:02:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-02T14:02:55Z</dc:date>
    <item>
      <title>Card and if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1197989#M19073</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to display a card saying either "warning" or "all good" based on the count of coursekey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want it to display warning if one specific coursekey appear more than once. However, the example above gave a warning message instead of all good even though these two coursekey were different. It should only give a warning if&amp;nbsp; for example coursekey 36 appear twice.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 12:46:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1197989#M19073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Card and if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1198178#M19085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&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;Try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Meaure 3 =
VAR a =
    COUNT ( CheckforforgottenentriesLastyear[Course Key] )
RETURN
    IF (
        a &amp;gt;= 2,
        "Warning",
        "All Good"
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:02:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1198178#M19085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T14:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Card and if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1198472#M19106</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;It did work and show warning if there is more than 2 entries for from different coursekey&lt;/P&gt;&lt;P&gt;However, what I want is to only show if one coursekey occur twice but I think the DAX you gave me was pretty close to the one I want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 16:13:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1198472#M19106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T16:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Card and if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1199728#M19151</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share sample data and expected output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 07:04:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1199728#M19151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T07:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Card and if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1199751#M19152</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified my query during the ETL process and it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 07:15:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-and-if-statement/m-p/1199751#M19152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T07:15:49Z</dc:date>
    </item>
  </channel>
</rss>

