Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS code not working properly

$
0
0

Hi

I am trying to use this code to calculate and give me a value representing a  percentage of LoggedTerritoryGoal.Value of a specific month. But it is not working I am getting the full LoggedTerritoryGoal.Value. can someone take a look at this and advice me.

=IIF(Month(Parameters!EndDate.Value) > MAX(Fields!MonthNmbr.Value),
(Fields!LoggedTerritoryGoal.Value / 12 * MAX(Fields!MonthNmbr.Value)),
(Fields!LoggedTerritoryGoal.Value / 12 * Month(Parameters!EndDate.Value))
)


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>