Hi All,
Have a question on formula based on parameter values.
I have a parameter on region and report displays costs of projects in that particular region. For ex if region = 1 then report displays costs for all projects in region 1.
Region Values= 1,2,3,...10
?region=
(If ({?region} = '' or {?region} = '0')
Then 1=1
Else{query1.region} = {?region})
As said, report displays project costs based on region chosen. And here is the formula for the costs column.
@region:
if ({?region} = {query1.region}
then ({query1.cost}) else tonumber({@null})
Now apart from this column I always want to display project cost for region 10, as another column. No matter what region is chosen in filter. Can anyone suggest me a formula for this?
So basically there are 2 columns, One for cost based on a region chosen and one for cost where region is always 10.
I created this formula for region 10 but it did not give me results: Here is this case I chose region 1 as parameter and when ran the report there were no results for column @region10
@region10
if ({?region} = '10'
then ({query1.cost}) else tonumber({@null})
Pls suggest: Ver CR XI
Thanks
Have a question on formula based on parameter values.
I have a parameter on region and report displays costs of projects in that particular region. For ex if region = 1 then report displays costs for all projects in region 1.
Region Values= 1,2,3,...10
?region=
(If ({?region} = '' or {?region} = '0')
Then 1=1
Else{query1.region} = {?region})
As said, report displays project costs based on region chosen. And here is the formula for the costs column.
@region:
if ({?region} = {query1.region}
then ({query1.cost}) else tonumber({@null})
Now apart from this column I always want to display project cost for region 10, as another column. No matter what region is chosen in filter. Can anyone suggest me a formula for this?
So basically there are 2 columns, One for cost based on a region chosen and one for cost where region is always 10.
I created this formula for region 10 but it did not give me results: Here is this case I chose region 1 as parameter and when ran the report there were no results for column @region10
@region10
if ({?region} = '10'
then ({query1.cost}) else tonumber({@null})
Pls suggest: Ver CR XI
Thanks