It depends. I've posted questions that were seemingly basic but showing you did your homework, or at least talking about the question in depth is handy.
You can talk about the problem - talk about failed attempts, or even what you've tried that failed, then cap it off with a glorious total victory of an answer.
Self answer does not mean phone in the question
Consider this question on gaming I've posted
I've talked about what I need, what I tried, and how it dosen'tdoesn't work. Its not exactly war and peace, but it gives a reader all the information I had.
Then I self answered cause that was too hard and I wanted others to find it. (And they did! Much to my shock!)
So - post a question talking about what you tried or at least what you're trying to do and you should be fine. Just imagine you're playing jeopardy.