<?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 Checking Data Completeness in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Checking-Data-Completeness/m-p/1419169#M26379</link>
    <description>&lt;P&gt;Hi I am new to PowerBI/PowerQuery, the following task might be trivial to some of you, but your help is highly appreciated &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I have three columns, where each column is presented from different files&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Vendor Name&lt;/TD&gt;&lt;TD&gt;Masterfile A&lt;/TD&gt;&lt;TD&gt;Masterfile B&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;Complete&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;Incomplete&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Incomplete&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to develop a new column called "Status" where it will examine the completeness of column Masterfile A and Masterfile B.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When BOTH columns were filled it will say "Complete" as in Vendor A&lt;/LI&gt;&lt;LI&gt;When ONE column or BOTH are NOT filled it will say Ïncomplete" as in Vendor B or C&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the best approach to this is using the Switch True function of If function. I might be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 20:09:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-07T20:09:10Z</dc:date>
    <item>
      <title>Checking Data Completeness</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Checking-Data-Completeness/m-p/1419169#M26379</link>
      <description>&lt;P&gt;Hi I am new to PowerBI/PowerQuery, the following task might be trivial to some of you, but your help is highly appreciated &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I have three columns, where each column is presented from different files&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Vendor Name&lt;/TD&gt;&lt;TD&gt;Masterfile A&lt;/TD&gt;&lt;TD&gt;Masterfile B&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;Complete&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;Incomplete&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Incomplete&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to develop a new column called "Status" where it will examine the completeness of column Masterfile A and Masterfile B.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When BOTH columns were filled it will say "Complete" as in Vendor A&lt;/LI&gt;&lt;LI&gt;When ONE column or BOTH are NOT filled it will say Ïncomplete" as in Vendor B or C&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the best approach to this is using the Switch True function of If function. I might be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 20:09:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Checking-Data-Completeness/m-p/1419169#M26379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-07T20:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Data Completeness</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Checking-Data-Completeness/m-p/1419454#M26384</link>
      <description>&lt;P&gt;you can decide where to implement that check, in Power Query or in Power BI/DAX.&amp;nbsp; Since the data is not impacted by user filters this means in DAX you would use a Calculated Column (not a measure)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The syntax is slightly different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power Query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;newstep = Table.AddColumn(previousstep,"Status", each if #"Masterfile A" = null or #"Masterfile B" = null then "Incomplete" else "Complete")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX:&lt;/P&gt;
&lt;P&gt;Status = IF([Masterfile A]==BLANK() || [Masterfile B] == BLANK(),"Incomplete","Complete")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 00:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Checking-Data-Completeness/m-p/1419454#M26384</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-10-08T00:42:43Z</dc:date>
    </item>
  </channel>
</rss>

