<?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 Fill in duplicate line Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2189001#M51134</link>
    <description>&lt;P&gt;hi,&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;I have a table that has duplicate records (&lt;STRONG&gt;CAK&lt;/STRONG&gt;) I would like to group by (&lt;STRONG&gt;CAK&lt;/STRONG&gt;) and the &lt;STRONG&gt;STATUS&lt;/STRONG&gt; field bring the "P", is there any way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
    <pubDate>Sun, 14 Nov 2021 22:21:00 GMT</pubDate>
    <dc:creator>Spotto</dc:creator>
    <dc:date>2021-11-14T22:21:00Z</dc:date>
    <item>
      <title>Fill in duplicate line Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2189001#M51134</link>
      <description>&lt;P&gt;hi,&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;I have a table that has duplicate records (&lt;STRONG&gt;CAK&lt;/STRONG&gt;) I would like to group by (&lt;STRONG&gt;CAK&lt;/STRONG&gt;) and the &lt;STRONG&gt;STATUS&lt;/STRONG&gt; field bring the "P", is there any way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 22:21:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2189001#M51134</guid>
      <dc:creator>Spotto</dc:creator>
      <dc:date>2021-11-14T22:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in duplicate line Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2189362#M51148</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="5713" data-lia-user-login="Spotto" class="lia-mention lia-mention-user"&gt;Spotto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this code to create a new Column with DAX:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;New Column =
IF (
    ISBLANK ( [CAK] ),
    CALCULATE (
        MAX ( [STATUS] ),
        FILTER ( ALL ( table ), [CAK] = EARLIER ( [CAK] ) )
    ),
    [STATUS]
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 04:33:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2189362#M51148</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-11-15T04:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in duplicate line Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2193758#M51333</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="5713" data-lia-user-login="Spotto" class="lia-mention lia-mention-user"&gt;Spotto&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you enter the power query editor? It's easier to complete in power query.&lt;/P&gt;
&lt;P&gt;1.Right-click the CAK column and select Group by.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Operation select All Rows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.Add a custom column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;= Table.FillDown([Count],{"STATUS"})&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.Remove the Count column, and expand the custom column.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stephen Tao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;STRONG&gt;&lt;EM&gt; Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 06:39:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fill-in-duplicate-line-Power-BI/m-p/2193758#M51333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-17T06:39:46Z</dc:date>
    </item>
  </channel>
</rss>

