What Dispel Magic enables you to do is to end a magical effect.
Say someone casts an illusion on a small room with Major Image to make it appear to be on fire. But, to add some real danger to it, they lit specific points of it on fire.
Now, say a person comes along and knows that part of it is an illusion, but isn't sure which parts.
What would happen if only part of the illusory fire was targeted by Dispel Magic? Would only that portion disappear, or would all of the illusory fire disappear?