<?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: DISTINCT COUNTING IN FILTERED DATA USING FORMULA in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/distinct-counting-in-filtered-data-using-formula/m-p/4238#M401</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please follow below steps what I have done.&lt;/P&gt;&lt;P&gt;1) For reference,&amp;nbsp; created a sample data for 2022 &amp;amp; 2023 registatrations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_0-1683220016425.png" style="width: 282px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2157i4E0FA1CFB1E7AA7A/image-dimensions/282x1388/is-moderation-mode/true?v=v2" width="282" height="1388" role="button" title="shashidhar_sris_0-1683220016425.png" alt="shashidhar_sris_0-1683220016425.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) created business schema after loading the data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_2-1683220339599.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2159i00F66E8F1A04C974/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_2-1683220339599.png" alt="shashidhar_sris_2-1683220339599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula used in Business schema:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reg_2023:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;if( year( Shashi_Test.Registration2.Reg_Date ) = $currentYear, ( Shashi_Test.Registration2.Payer_Name ), "0" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Reg_2022:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;if( year( Shashi_Test.Registration2.Reg_Date ) = $lastYear,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Shashi_Test.Registration2.Payer_Name ), "0" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;3) Created KPIs:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_1-1683220184602.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2158i6EDF32E1C141B5F2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_1-1683220184602.png" alt="shashidhar_sris_1-1683220184602.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will give 2022 vs 2023 growth&lt;/P&gt;&lt;P&gt;For your reference, attaching below month wise and day wise growth for 2022 vs 2023&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_4-1683220759698.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2161iD50FD3297DC2450D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_4-1683220759698.png" alt="shashidhar_sris_4-1683220759698.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_5-1683220849723.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2162iF33D4DC08DE1172A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_5-1683220849723.png" alt="shashidhar_sris_5-1683220849723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need more clarification.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashidhar.S&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 17:28:13 GMT</pubDate>
    <dc:creator>Shashidhar</dc:creator>
    <dc:date>2023-05-04T17:28:13Z</dc:date>
    <item>
      <title>DISTINCT COUNTING IN FILTERED DATA USING FORMULA</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/distinct-counting-in-filtered-data-using-formula/m-p/779#M27</link>
      <description>&lt;P&gt;I have requirement of counting distinct data in filter using formula&lt;/P&gt;&lt;P&gt;I want to count growth of payer I know following formula is wrong&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know any trick&lt;/P&gt;&lt;P&gt;(SUM(&lt;BR /&gt;IF(&lt;BR /&gt;LDM_SCHEMA.REGISTRATION.Reg_Date = $TDate,&lt;BR /&gt;Distinct(&lt;BR /&gt;CMO_REPORT.REGN.PAYER_NAME&lt;BR /&gt;),&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;) - sum(&lt;BR /&gt;IF(&lt;BR /&gt;LDM_SCHEMA.REGISTRATION.Reg_Date = addDays(&lt;BR /&gt;addYears(&lt;BR /&gt;$TDate,&lt;BR /&gt;-1&lt;BR /&gt;),&lt;BR /&gt;0&lt;BR /&gt;),&lt;BR /&gt;Distinct(&lt;BR /&gt;CMO_REPORT.REGN.PAYER_NAME&lt;BR /&gt;),&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;)) / sum(&lt;BR /&gt;IF(&lt;BR /&gt;LDM_SCHEMA.REGISTRATION.Reg_Date = addDays(&lt;BR /&gt;addYears(&lt;BR /&gt;$TDate,&lt;BR /&gt;-1&lt;BR /&gt;),&lt;BR /&gt;0&lt;BR /&gt;),&lt;BR /&gt;Distinct(&lt;BR /&gt;CMO_REPORT.REGN.PAYER_NAME&lt;BR /&gt;),&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:19:03 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/distinct-counting-in-filtered-data-using-formula/m-p/779#M27</guid>
      <dc:creator>aldixit</dc:creator>
      <dc:date>2022-03-30T14:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: DISTINCT COUNTING IN FILTERED DATA USING FORMULA</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/distinct-counting-in-filtered-data-using-formula/m-p/4238#M401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please follow below steps what I have done.&lt;/P&gt;&lt;P&gt;1) For reference,&amp;nbsp; created a sample data for 2022 &amp;amp; 2023 registatrations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_0-1683220016425.png" style="width: 282px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2157i4E0FA1CFB1E7AA7A/image-dimensions/282x1388/is-moderation-mode/true?v=v2" width="282" height="1388" role="button" title="shashidhar_sris_0-1683220016425.png" alt="shashidhar_sris_0-1683220016425.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) created business schema after loading the data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_2-1683220339599.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2159i00F66E8F1A04C974/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_2-1683220339599.png" alt="shashidhar_sris_2-1683220339599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula used in Business schema:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reg_2023:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;if( year( Shashi_Test.Registration2.Reg_Date ) = $currentYear, ( Shashi_Test.Registration2.Payer_Name ), "0" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Reg_2022:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;if( year( Shashi_Test.Registration2.Reg_Date ) = $lastYear,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Shashi_Test.Registration2.Payer_Name ), "0" )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;3) Created KPIs:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_1-1683220184602.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2158i6EDF32E1C141B5F2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_1-1683220184602.png" alt="shashidhar_sris_1-1683220184602.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will give 2022 vs 2023 growth&lt;/P&gt;&lt;P&gt;For your reference, attaching below month wise and day wise growth for 2022 vs 2023&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_4-1683220759698.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2161iD50FD3297DC2450D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_4-1683220759698.png" alt="shashidhar_sris_4-1683220759698.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashidhar_sris_5-1683220849723.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2162iF33D4DC08DE1172A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shashidhar_sris_5-1683220849723.png" alt="shashidhar_sris_5-1683220849723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need more clarification.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashidhar.S&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 17:28:13 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/distinct-counting-in-filtered-data-using-formula/m-p/4238#M401</guid>
      <dc:creator>Shashidhar</dc:creator>
      <dc:date>2023-05-04T17:28:13Z</dc:date>
    </item>
  </channel>
</rss>

