I am interested in the equation $a^{a^x}=x$ for some fixed $a>0$. Is there some way to rearrange for $x$ or solve otherwise? What about the nature of the solutions? For which fixed $a>0$ are there any real solutions $x>0$, and how many?
I already worked with the equation $a^x=x$ and I can deal with it. I learned from the comments that a real solution exists for $a\le e^{1/e}$ and is given by
$$x=-\frac{W(-\ln(a))}{\ln(a)}$$
with the Lambert W function. But the equation above is out of reach for me.


I found a way to rearrange for $x$ which works for some $a$ and yields some solution! Some rigorous analysis is necessary to completely understand this procedure and to find similar forms of the other (real) solutions (there are zero to three). I still hope this might help you.
So let's start from $a^{a^x}=x$ for $a,x>0$, and state it like Gottfried did as $(a^x)^{a^x}=x^x$. There is the well known way to parametrize some solutions of $x^x=y^y$, which is
$$x=t^{\frac{1}{1-t}},\qquad y=t^{\frac t{1-t}}$$
for $t>0$. So, to solve the above problem, we are looking for a value $t$ for which we have
$$x=t^{\frac{^1}{1-t}},\qquad a^x=t^{\frac t{1-t}}.$$
The left equation can be rearranged for $t$ and we get $t=\frac{W(x\log x)}{\log x}$. When we plug this into the right side we find
$$a^x = \left(t^{\frac 1{1-t}}\right)^t=x^t=x^{\frac{W(x\log x)}{\log x}}\quad\Rightarrow\quad a=x^{\frac{W(x\log x)}{x\log x}}=x^{\frac{W(u)}u}$$
with $u=x\log x$. This gives $x=u/W(u)$ and
$$a=\left(\frac{W(u)}u\right)^{-\frac{W(u)}u}=z^{-z}$$
with $z=W(u)/u$. We can solve for $z$ and finally find
$$z=-\frac{\log a}{W(-\log a)}.$$
which can be used to find $u$ via $u=-\log (z)/z$. The final solution might look something like this:
Of course, this monstrous formula should never be used. Instead use the resubstituation like this:
$$z=-\frac{\log a}{W(-\log a)} \quad\to\quad u=-\frac{\log (z)}{z} \quad\to\quad x=\frac{u}{W(u)}.$$
Example. Choosing $a=1/2$ and above formula gave me the solution $x\approx 0.641186$ which indeed solves $a^{a^{x}}=x$.
I also tested it with $a=2$, which yielded a complex solution $x\approx 0.824679 - 1.56743i$ which worked, but shed no light on whether there are any other real ones.
Gottfried mentioned in the comments that it seems not to work for e.g. $a=0.01$. This is why more investigations are necessary.
Gottfried hinted me to the fact that this can be simplified (at least for some $a$) to the function
$$x(a)=\exp(-W(-\log(a))).$$
This seems to work for all $a$ (in contrast to my resubstituation formula above), but still gives only a single solution. Maybe the other branches of $W$ can give other real solutions, but not sure.