<?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 Adding a Card with condition in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2567803#M36596</link>
    <description>&lt;P&gt;Hi People!&lt;/P&gt;&lt;P&gt;I'm new to PowerBI. I'm currently working on a report and I want to insert a card to show me some numbers based on certain conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My table has columns PersonID, Units Attempted amongst others. Each PersonID can have multiple separate Units Attempted.&lt;/P&gt;&lt;P&gt;My card needs to show a distinct count of PersonID when distinct count of Units Attempted is greater than 3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that makes sense. Any help on this please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 02:31:30 GMT</pubDate>
    <dc:creator>VaroonA</dc:creator>
    <dc:date>2022-06-09T02:31:30Z</dc:date>
    <item>
      <title>Adding a Card with condition</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2567803#M36596</link>
      <description>&lt;P&gt;Hi People!&lt;/P&gt;&lt;P&gt;I'm new to PowerBI. I'm currently working on a report and I want to insert a card to show me some numbers based on certain conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My table has columns PersonID, Units Attempted amongst others. Each PersonID can have multiple separate Units Attempted.&lt;/P&gt;&lt;P&gt;My card needs to show a distinct count of PersonID when distinct count of Units Attempted is greater than 3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that makes sense. Any help on this please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 02:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2567803#M36596</guid>
      <dc:creator>VaroonA</dc:creator>
      <dc:date>2022-06-09T02:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Card with condition</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2571831#M36636</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;Use the below expression.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Card =
VAR _table =
    SUMMARIZE (
        Persons,
        Persons[PersonID],
        "dCount", DISTINCTCOUNT ( Persons[UnitID] )
    )
RETURN
    CALCULATE (
        DISTINCTCOUNT ( Persons[PersonID] ),
        FILTER ( _table, [dCount] &amp;gt; 3 )
    )&lt;/LI-CODE&gt;&lt;P&gt;Sample Data,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hariharan_R_0-1654867760164.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/730323i19378C9C1CBEA9B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hariharan_R_0-1654867760164.png" alt="Hariharan_R_0-1654867760164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 13:29:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2571831#M36636</guid>
      <dc:creator>Hariharan_R</dc:creator>
      <dc:date>2022-06-10T13:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Card with condition</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2618410#M37189</link>
      <description>&lt;P&gt;Hi Hari!&lt;/P&gt;&lt;P&gt;Thanks a lot for this! It works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 01:07:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-a-Card-with-condition/m-p/2618410#M37189</guid>
      <dc:creator>VaroonA</dc:creator>
      <dc:date>2022-07-05T01:07:22Z</dc:date>
    </item>
  </channel>
</rss>

