While working on SSRS report recently, we were using 2 parameters. One parameter was depending on the value of the other parameter. While uploading the report to D365 environment, we got below error message and report was not uploaded: “The report parameter ‘p1’ has a DefaultValue or a ValidValue that depends on the report parameter ‘p2’. Forward dependencies are not valid”.
To fix this issue, we reordered the parameters using Upward and Downward arrow buttons.
First we kept the independent parameter and then the dependent parameter as shown below since the order of the parameters matters in SSRS report:

Hope it helps !!