Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
In excel, I had a column that would review 20 columns, and if there was a blank in any of them it would flag the row that there is missing data.
The formula I used in a new column was:
=IF(COUNTBLANK(A2:S2)>0,1,0) and if it equaled 1, it meant at least one column was blank.
But - I can't figure out how to do the same in Power BI For Desktop. It has a countblank function but it can't compare multiple columns. Do I need to create 20 additional columns each month or is there a simple way to do this?
Thanks!
Rob
Solved! Go to Solution.
hi, in Query Editor
Select your 20 columns, Replace Value
2. Go to Add Column --Statistics-CountValues
3. Add the Flag Column
hi, in Query Editor
Select your 20 columns, Replace Value
2. Go to Add Column --Statistics-CountValues
3. Add the Flag Column
Thanks Victor - that worked like a charm. I wasn't aware of those options when editing data - this will help me with other things too 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |