This video shows how to solve the macOS Sierra 10.12.6 not saving Screenshots to the desktop or any other files. Only to the clipboard.
As mention in the video you will need to copy the bellow line of text into the terminal. Bear in mind that you need to replace your username for your mac user name.
Terminal line:
defaults write com.apple.screencapture location /Users/usernane/Desktop/