Why can't I find OS X Yosemite in the Mac App store?
Unfortunately the OS X Yosemite installer is no longer available on the Mac App Store.

If you have a paid Apple Developer account you can download it from https://developer.apple.com/downloads/