Forum Discussion
rayinOz
Helper III
9 years agoFinding Percent Complete by course by division
Hello All! I need help creating a chart that shows completion rate for course enrolments. This is the percentage of course status marked "complete" by course and by division. The previous employ...
rayinOz
Helper III
9 years agoI came up with the following but for some reason, it returns an error..
CourseStatusNew = IF(SEARCH('UoM-report'[Course Status],"Completed"),"Completed","Incomplete")
Basically what I want it to do is search the Course Status column and if it has a status of Completed, then the result is Completed, if it is anything other than complete (such as in progress or not yet started or extempted, etc) to set it as Incomplete.
Thoughts?
parry2k
Super User
9 years agoHere is what I think you need
CourseStatusNew = IF(SEARCH("Completed", 'UoM-report'[Course Status]),"Completed","Incomplete")- rayinOz9 years ago
Helper III
Hmm... still the same error.. i've attached a screenshot... The column i want to search is Course Status... the column next to it is a manual one that was done in Excel and that i want to do away with once i get the function to work correctly in Power Bi.