Forum Discussion
AlGrant
2 years agoFrequent Visitor
Turn Dax calculated column into M formula for query editor
Hello, I have a calculated column that I would like to recreate as a custom column in the query editor for the table 'CMI Application Tracker' Overall Program Status = SWITCH ( TRUE(...
- 2 years ago
Hi AlGrant ,
Here's the basic IF statement structure in M to get you started:
if [Migration Status] = "Complete" and [Decom Status] = "Complete" then "Complete" else if [Migration Status] <> "Not Started" and [Decom Status] = "Not Started" then "In Progress" ... ... else "Not Started"Pete
BA_Pete
Super User
2 years agoHi AlGrant ,
Here's the basic IF statement structure in M to get you started:
if [Migration Status] = "Complete" and [Decom Status] = "Complete" then "Complete"
else if [Migration Status] <> "Not Started" and [Decom Status] = "Not Started" then "In Progress"
...
...
else "Not Started"
Pete