- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Name | Masterfile A | Masterfile B | Status |
A | xxx | xxx | Complete |
B | xxx | Incomplete | |
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Subject | Author | Posted | |
---|---|---|---|
01-25-2024 10:17 AM | |||
07-30-2024 10:24 PM | |||
05-10-2024 01:54 AM | |||
07-19-2024 12:15 PM | |||
05-21-2024 09:59 PM |