Showing results for 
Search instead for 
Did you mean: 
Not applicable

Checking Data Completeness

Hi I am new to PowerBI/PowerQuery, the following task might be trivial to some of you, but your help is highly appreciated 😁.


For example:

I have three columns, where each column is presented from different files

Vendor NameMasterfile AMasterfile BStatus
B xxxIncomplete
C  Incomplete


I want to develop a new column called "Status" where it will examine the completeness of column Masterfile A and Masterfile B. 

  • When BOTH columns were filled it will say "Complete" as in Vendor A
  • When ONE column or BOTH are NOT filled it will say Ïncomplete" as in Vendor B or C


I think the best approach to this is using the Switch True function of If function. I might be wrong.




Super User
Super User

you can decide where to implement that check, in Power Query or in Power BI/DAX.  Since the data is not impacted by user filters this means in DAX you would use a Calculated Column (not a measure)


The syntax is slightly different.


Power Query:


newstep = Table.AddColumn(previousstep,"Status", each if #"Masterfile A" = null or #"Masterfile B" = null then "Incomplete" else "Complete")



Status = IF([Masterfile A]==BLANK() || [Masterfile B] == BLANK(),"Incomplete","Complete")



Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors