Dandruff is composed of thickened patches of cells that do not shed from the scalp after they die.
They adhere to one another. Any oily substance can/does increase the adherence of these cells to each other and worsens the process. Using a shampoo with chemicals that break the bonds between these cells (common dandruff shampoo) is the primary treatment. Unresponsive cases may be another skin pbm.