Margin and profit answer different questions
Retail almost always carries the higher margin percentage. Wholesale often carries the higher profit in shillings, because volume does the work. Judging a channel on margin alone is how businesses quietly drop the one that pays the rent.
Run both numbers before deciding a channel is not worth serving, and look at the total rather than the better of the two.