Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
I think the best approach to this is using the Switch True function of If function. I might be wrong.
Regards
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")
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
7 |