<?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 URGENT help on DAX calculated column for different cases to display in power bi in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4152789#M165048</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please find the below screenshot of sample data, need help on the different cases reasons for the below data to display in different column reasons. Please help it's very urgent. I have tried different approches but unable to reach solutions.&lt;/SPAN&gt;&lt;/SPAN&gt;&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;P&gt;&lt;STRONG&gt;Below are the requirements need to work on the DAX calculated column need to display in different columns:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CASE 1: "Two SCIDs merged into a confirmed SCID"&lt;/P&gt;&lt;P&gt;CASE 2: "Confirmed SCID has been Unmerged"&lt;/P&gt;&lt;P&gt;CASE 3: "Insured Info mismatch"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 1: (When two different policies were assigned to two different SCID_POST (000 and 001), but under NSCID both SCID_POST (000 and 001) merged into a duplicate NSCID and Customer Flag: ""0"" ) Need to display as ""Two SCIDs merged into a confirmed SCID"&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 2: (When two different policies were assigned to SCID_POST (000), but under different NSCID is assigned to Customer Flag: ""0"") Need to Display as ""&amp;nbsp;Confirmed SCID has been Unmerged"&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 3: (When Client Type: Insured is the same(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned different ID numbers and Customer Flag is: ""0"" and ""1"")&amp;nbsp;Vise Versa (When Client Type: Insured is the different(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned same ID numbers and Customer Flag is: ""0"")&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Need to display as ""Insured Info Mismatch"&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Expected OUTPUT: Here is the expected output to be display in POWER BI. Please help.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Sample Data Reocrds: Here is the sample records can work for this expected OUTPUT.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; For SCID_POST (000 and 001) from&amp;nbsp;&lt;STRONG&gt;power query editor&lt;/STRONG&gt; can achieve with help of custom column: &lt;SPAN class=""&gt;&lt;STRONG&gt;=Number.ToText([SCID_POST],"d3")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Product Code Policy Client Type NSCID Unconfirmed Customer Flag SCID_PRE SCID_POST&lt;BR /&gt;502 6369188 Insured 10001135001 0 63948950 001&lt;BR /&gt;500 7417992 PolicyHolder 10001135001 0 63948950 000&lt;BR /&gt;500 8567299 Insured 10001059001 0 63950734 000&lt;BR /&gt;500 8439184 Insured 10001059001 0 63950734 001&lt;BR /&gt;501 4041712 Insured 10001225001 0 63949029 000&lt;BR /&gt;501 4041711 Insured 10001225001 0 63949029 001&lt;BR /&gt;484 3602011 Insured 10001327001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603005 Insured 10001329001 0 20030916 000&lt;BR /&gt;501 9922164 PolicyHolder 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 Insured 10000247901 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 PolicyHolder 10000898001 0 78526740 001&lt;BR /&gt;500 7143845 Insured 10000932001 0 63685171 001&lt;BR /&gt;500 7143845 PolicyHolder 10000937001 1 63685171 001&lt;BR /&gt;500 1266967 PolicyHolder 10001238001 0 63691789 001&lt;BR /&gt;500 1266967 Insured 10001242001 1 63691789 001&lt;BR /&gt;501 9922151 Insured 10001210001 0 63950555 000&lt;BR /&gt;500 7527515 Insured 10001216001 0 63949292 000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Sep 2024 10:45:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-21T10:45:36Z</dc:date>
    <item>
      <title>URGENT help on DAX calculated column for different cases to display in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4152789#M165048</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please find the below screenshot of sample data, need help on the different cases reasons for the below data to display in different column reasons. Please help it's very urgent. I have tried different approches but unable to reach solutions.&lt;/SPAN&gt;&lt;/SPAN&gt;&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;P&gt;&lt;STRONG&gt;Below are the requirements need to work on the DAX calculated column need to display in different columns:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CASE 1: "Two SCIDs merged into a confirmed SCID"&lt;/P&gt;&lt;P&gt;CASE 2: "Confirmed SCID has been Unmerged"&lt;/P&gt;&lt;P&gt;CASE 3: "Insured Info mismatch"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 1: (When two different policies were assigned to two different SCID_POST (000 and 001), but under NSCID both SCID_POST (000 and 001) merged into a duplicate NSCID and Customer Flag: ""0"" ) Need to display as ""Two SCIDs merged into a confirmed SCID"&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 2: (When two different policies were assigned to SCID_POST (000), but under different NSCID is assigned to Customer Flag: ""0"") Need to Display as ""&amp;nbsp;Confirmed SCID has been Unmerged"&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;CASE 3: (When Client Type: Insured is the same(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned different ID numbers and Customer Flag is: ""0"" and ""1"")&amp;nbsp;Vise Versa (When Client Type: Insured is the different(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned same ID numbers and Customer Flag is: ""0"")&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Need to display as ""Insured Info Mismatch"&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Expected OUTPUT: Here is the expected output to be display in POWER BI. Please help.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Sample Data Reocrds: Here is the sample records can work for this expected OUTPUT.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; For SCID_POST (000 and 001) from&amp;nbsp;&lt;STRONG&gt;power query editor&lt;/STRONG&gt; can achieve with help of custom column: &lt;SPAN class=""&gt;&lt;STRONG&gt;=Number.ToText([SCID_POST],"d3")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Product Code Policy Client Type NSCID Unconfirmed Customer Flag SCID_PRE SCID_POST&lt;BR /&gt;502 6369188 Insured 10001135001 0 63948950 001&lt;BR /&gt;500 7417992 PolicyHolder 10001135001 0 63948950 000&lt;BR /&gt;500 8567299 Insured 10001059001 0 63950734 000&lt;BR /&gt;500 8439184 Insured 10001059001 0 63950734 001&lt;BR /&gt;501 4041712 Insured 10001225001 0 63949029 000&lt;BR /&gt;501 4041711 Insured 10001225001 0 63949029 001&lt;BR /&gt;484 3602011 Insured 10001327001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603005 Insured 10001329001 0 20030916 000&lt;BR /&gt;501 9922164 PolicyHolder 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 Insured 10000247901 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 PolicyHolder 10000898001 0 78526740 001&lt;BR /&gt;500 7143845 Insured 10000932001 0 63685171 001&lt;BR /&gt;500 7143845 PolicyHolder 10000937001 1 63685171 001&lt;BR /&gt;500 1266967 PolicyHolder 10001238001 0 63691789 001&lt;BR /&gt;500 1266967 Insured 10001242001 1 63691789 001&lt;BR /&gt;501 9922151 Insured 10001210001 0 63950555 000&lt;BR /&gt;500 7527515 Insured 10001216001 0 63949292 000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 10:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4152789#M165048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-21T10:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT help on DAX calculated column for different cases to display in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4152829#M165052</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, Try using below DAX to create a calcuated column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reason = &lt;BR /&gt;VAR SCID_PRE = [SCID_PRE]&lt;BR /&gt;VAR SCID_POST = [SCID_POST]&lt;BR /&gt;VAR NSCID = [NSCID]&lt;BR /&gt;VAR CustomerFlag = [Customer Flag]&lt;BR /&gt;VAR ClientType = [Client Type]&lt;BR /&gt;VAR Policy = [Policy]&lt;/P&gt;
&lt;P&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;// CASE 1: Two SCIDs merged into a confirmed SCID&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[NSCID] = NSCID &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 1 &amp;amp;&amp;amp; SCID_PRE &amp;lt;&amp;gt; SCID_POST, "Two SCIDs merged into a confirmed SCID",&lt;BR /&gt;&lt;BR /&gt;// CASE 2: Confirmed SCID has been Unmerged&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 1 &amp;amp;&amp;amp; SCID_PRE = SCID_POST, "Confirmed SCID has been Unmerged",&lt;BR /&gt;&lt;BR /&gt;// CASE 3: Insured Info mismatch&lt;BR /&gt;(&lt;BR /&gt;(ClientType = "Insured" &amp;amp;&amp;amp; &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_PRE] = SCID_PRE &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Client Type] = "PolicyHolder" &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 1&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0) ||&lt;BR /&gt;(ClientType = "PolicyHolder" &amp;amp;&amp;amp; &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_PRE] = SCID_PRE &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Client Type] = "Insured" &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0)&lt;BR /&gt;), "Insured Info mismatch",&lt;BR /&gt;&lt;BR /&gt;BLANK()&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 15:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4152829#M165052</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-09-16T15:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT help on DAX calculated column for different cases to display in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159549#M165275</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried with your solution in DAX calculated column. Please find the below screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here CASE 1 and CASE 3 values are effecting expect &lt;STRONG&gt;CASE 2.&amp;nbsp;&lt;/STRONG&gt;Please check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you've worked on your PBIX file please share it. Thank you!&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;</description>
      <pubDate>Thu, 19 Sep 2024 11:41:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159549#M165275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-19T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT help on DAX calculated column for different cases to display in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159745#M165281</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;, Try using this or share sample data in format which can be copied in excel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reason =&lt;BR /&gt;VAR SCID_PRE = [SCID_PRE]&lt;BR /&gt;VAR SCID_POST = [SCID_POST]&lt;BR /&gt;VAR NSCID = [NSCID]&lt;BR /&gt;VAR CustomerFlag = [Customer Flag]&lt;BR /&gt;VAR ClientType = [Client Type]&lt;BR /&gt;VAR Policy = [Policy]&lt;/P&gt;
&lt;P&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;// CASE 1: Two SCIDs merged into a confirmed SCID&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_POST] IN {"000", "001"} &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[NSCID] = NSCID &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 1 &amp;amp;&amp;amp; SCID_PRE &amp;lt;&amp;gt; SCID_POST, "Two SCIDs merged into a confirmed SCID",&lt;/P&gt;
&lt;P&gt;// CASE 2: Confirmed SCID has been Unmerged&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[NSCID] &amp;lt;&amp;gt; NSCID &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 1 &amp;amp;&amp;amp; SCID_PRE = SCID_POST, "Confirmed SCID has been Unmerged",&lt;/P&gt;
&lt;P&gt;// CASE 3: Insured Info mismatch&lt;BR /&gt;(&lt;BR /&gt;(ClientType = "Insured" &amp;amp;&amp;amp;&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_PRE] = SCID_PRE &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Client Type] = "PolicyHolder" &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 1&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0) ||&lt;BR /&gt;(ClientType = "PolicyHolder" &amp;amp;&amp;amp;&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;'Table'[SCID_PRE] = SCID_PRE &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[SCID_POST] = SCID_POST &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Client Type] = "Insured" &amp;amp;&amp;amp;&lt;BR /&gt;'Table'[Customer Flag] = 0&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0)&lt;BR /&gt;), "Insured Info mismatch",&lt;/P&gt;
&lt;P&gt;BLANK()&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 12:34:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159745#M165281</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-09-19T12:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT help on DAX calculated column for different cases to display in power bi</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159762#M165282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am extreamly sorry for the confusion on the &lt;STRONG&gt;CASE 2 on SCID_POST instead of (001) it should be (000)&lt;/STRONG&gt; in the records.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now Please find out the revised requirement and latest records. Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE 1: (When two different policies were assigned to two different SCID_POST (000 and 001), but under NSCID both SCID_POST (000 and 001) merged into a duplicate NSCID and Customer Flag: ""0"" ) Need to display as ""Two SCIDs merged into a confirmed SCID"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE 2: (When two different policies were assigned to SCID_POST (000), but under different NSCID is assigned to Customer Flag: ""0"") Need to Display as ""&amp;nbsp;Confirmed SCID has been Unmerged"&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CASE 3: (When Client Type: Insured is the same(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned different ID numbers and Customer Flag is: ""0"" and ""1"")&amp;nbsp;Vise Versa (When Client Type: Insured is the different(SCID_PRE and SCID_POST) as policy holder (SCID_PRE and SCID_POST), but under NSCID assigned same ID numbers and Customer Flag is: ""0"")&amp;nbsp;&lt;BR /&gt;Need to display as ""Insured Info Mismatch"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected OUTPUT: Here is the revised expected output to be display in POWER BI. Please help.&lt;/STRONG&gt;&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;&lt;STRONG&gt;Here are the Sample Records which is in Excel Output above. Please help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product Code Policy Client Type NSCID Unconfirmed Customer Flag SCID_PRE SCID_POST&lt;BR /&gt;502 6369188 Insured 10001135001 0 63948950 001&lt;BR /&gt;500 7417992 PolicyHolder 10001135001 0 63948950 000&lt;BR /&gt;500 8567299 Insured 10001059001 0 63950734 000&lt;BR /&gt;500 8439184 Insured 10001059001 0 63950734 001&lt;BR /&gt;501 4041712 Insured 10001225001 0 63949029 000&lt;BR /&gt;501 4041711 Insured 10001225001 0 63949029 001&lt;BR /&gt;484 3602011 Insured 10001327001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603002 Insured 10001328001 0 20030916 000&lt;BR /&gt;484 3603005 Insured 10001329001 0 20030916 000&lt;BR /&gt;501 9922164 PolicyHolder 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 Insured 10000247901 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922162 Insured 10000898001 0 63950560 000&lt;BR /&gt;501 9922163 PolicyHolder 10000898001 0 78526740 001&lt;BR /&gt;500 7143845 Insured 10000932001 0 63685171 001&lt;BR /&gt;500 7143845 PolicyHolder 10000937001 1 63685171 001&lt;BR /&gt;500 1266967 PolicyHolder 10001238001 0 63691789 001&lt;BR /&gt;500 1266967 Insured 10001242001 1 63691789 001&lt;BR /&gt;501 9922151 Insured 10001210001 0 63950555 000&lt;BR /&gt;500 7527515 Insured 10001216001 0 63949292 000&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 10:30:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/URGENT-help-on-DAX-calculated-column-for-different-cases-to/m-p/4159762#M165282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-21T10:30:11Z</dc:date>
    </item>
  </channel>
</rss>

