5ghz pcb material
You don't choose the thickness of the material to control loss - you choose the thickness of the material to control the impedance of the transmission path for a particular trace width.
The losses in the dielectric are a function of the material, and not the thickness. High Tg FR4 resin is available with an Er of about 3.7. That is about as good as it gets with FR4. If you need lower dielectric loss, you can go to Rogers, Taconic, or GE for lower loss material.
FR4 will work OK for your application if the traces are short. Find the loss tangent, or Er, of the FR4 you will use on your board. Then you should compute how much additional signal loss you can tolerate from skin effect over the distances you expect on your board. Using the allowable total loss, calculate the necessary trace width to stay within your loss budget. Using the trace width, calculate the thickness of dielectric you need to give the required trace impedance. Iterate the calculation as necessary to get the trace width and dielectric thicknesses adjusted to fit the board space and material available.