Buckle or yield first?

I have read that whether it buckles first depends on comparing the
FOS(factor of safety) and BLF(buckling load factor)?

Does this applies on different situation and the calculation behind is?

Many thanks!

SolidworksSimulation