Forum Discussion
Nested IF AND Statement/Conditional Column
- 6 years ago
Anonymous
Go to Powerquery -->Add Column -->Custom Column, and write below in your windown, name this column as "Progress"
if [Start Date] <> null and [Complete Date] = null then "In Progress" else if [Start Date] <> null and [Complete Date] <> null then "Completed" else ""
Let me know if this makes sense.
Anonymous
If you want to do that in the Powequery, you can create custom column.
If you want to do that in DAX environment, you can do that also.
- Anonymous6 years agoNot applicable
Thank you mhossain ! I think a column would be best, but I'm not sure how to go about structing the formula.
- mhossain6 years ago
Solution Sage
Anonymous
Go to Powerquery -->Add Column -->Custom Column, and write below in your windown, name this column as "Progress"
if [Start Date] <> null and [Complete Date] = null then "In Progress" else if [Start Date] <> null and [Complete Date] <> null then "Completed" else ""
Let me know if this makes sense.
- Anonymous6 years agoNot applicable
Thank you mhossain , that made sense and works perfectly! I added a few more clauses and it is exactly what I needed.