<?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: Derive the Values using Group or Rank in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2301576#M34059</link>
    <description>&lt;P&gt;Hi Alex,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help appreciate that,&amp;nbsp; its kind of working but I need to resolve using DAX funtion I guess&lt;/P&gt;&lt;P&gt;After few attempts i think its workingfine&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have use teh following steps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Steps_Replace_ReserveCode.JPG" style="width: 648px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/660700i11F5BBBD34D08E7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Steps_Replace_ReserveCode.JPG" alt="Steps_Replace_ReserveCode.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output Example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="output examplee.JPG" style="width: 785px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/660707iB42E43C90F9E3AA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="output examplee.JPG" alt="output examplee.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 16:45:39 GMT</pubDate>
    <dc:creator>FSyed</dc:creator>
    <dc:date>2022-01-25T16:45:39Z</dc:date>
    <item>
      <title>Derive the Values using Group or Rank</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2298494#M34033</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can someone please assist me how to derive the value for Column "CC_Derive" using the following example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Issue_derive_CC.JPG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/659897iBD8D15EF01E7478B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Issue_derive_CC.JPG" alt="Issue_derive_CC.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to provide the sample data file but not sure how and I can't see the option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EmpNo	Name	Amount	CC	Flag	CC_Derive
123	Mr Smith 100	4652	0	4652
123	Mr Smith 200	4659	0	4659
123	Mr Smith 300	999	1	4659
124	Mr X	400	4971	0	4971
124	Mr X	300	999	1	4971
124	Mr X	200	4834	0	4834
124	Mr X	100	4659	0	4659&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 12:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2298494#M34033</guid>
      <dc:creator>FSyed</dc:creator>
      <dc:date>2022-01-24T12:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Derive the Values using Group or Rank</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2298520#M34035</link>
      <description>&lt;P&gt;I have used following function (New Column) to derive the Flag values and Max_Amount&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;col_Flag_999_998=
var var1 = tbl_Distinct_Employee_CC[CostCentre]
RETURN
If(OR (var1 = 498650, var1 = 498655) , 1 ,BLANK())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 12:53:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2298520#M34035</guid>
      <dc:creator>FSyed</dc:creator>
      <dc:date>2022-01-24T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Derive the Values using Group or Rank</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2299212#M34046</link>
      <description>&lt;P&gt;I think this would be easiest in the query editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/replace-values" target="_blank"&gt;Replace&lt;/A&gt; 999 with null.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/fill-values-column" target="_blank"&gt;Fill down&lt;/A&gt; the CC column.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 24 Jan 2022 18:28:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2299212#M34046</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-24T18:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Derive the Values using Group or Rank</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2301576#M34059</link>
      <description>&lt;P&gt;Hi Alex,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help appreciate that,&amp;nbsp; its kind of working but I need to resolve using DAX funtion I guess&lt;/P&gt;&lt;P&gt;After few attempts i think its workingfine&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have use teh following steps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Steps_Replace_ReserveCode.JPG" style="width: 648px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/660700i11F5BBBD34D08E7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Steps_Replace_ReserveCode.JPG" alt="Steps_Replace_ReserveCode.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output Example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="output examplee.JPG" style="width: 785px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/660707iB42E43C90F9E3AA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="output examplee.JPG" alt="output examplee.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 16:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Derive-the-Values-using-Group-or-Rank/m-p/2301576#M34059</guid>
      <dc:creator>FSyed</dc:creator>
      <dc:date>2022-01-25T16:45:39Z</dc:date>
    </item>
  </channel>
</rss>

