Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
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
AxxxxxxComplete
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.

 

Regards

 

1 REPLY 1
lbendlin
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")

 

DAX:

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

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.