This question depends on the job. For some analysts, coding is necessary. For others, it isn't a direct part of the job. That being said, knowing how to code can be an advantage for analysts, especially if you want to write your own scripts.