Hi, I'm using Crystal reports 10.
I'm trying to show a trendline for stock values for the last 12 months.
In order to do that I have to calculate the stock value from the very beginning up until the month I need.
I can't group the report by month, because many previous years are involved and I only want to show the last 12 months.
The formula for my monthly stock value calculation is like below
IF {@InventoryYearMonth} <= ToText(DateAdd("m",-1,currentdate),"yyyyMM") THEN
{INVENTORY.TRANSACTIONCOST}
ELSE
0
I summarize these values and want to show them in a line chart.
I'm able to do a bar chart by adding all 12 calculated fields for every month under the 'Show Values' section in the chart expert.
In a line chart it won't actually create a line. I believe the resaon is that it does not recognise the 12 values as a series.
Would anyone know a way around this? In Excel I can just give it 12 values and it creates a line chart for me.
I'm trying to show a trendline for stock values for the last 12 months.
In order to do that I have to calculate the stock value from the very beginning up until the month I need.
I can't group the report by month, because many previous years are involved and I only want to show the last 12 months.
The formula for my monthly stock value calculation is like below
IF {@InventoryYearMonth} <= ToText(DateAdd("m",-1,currentdate),"yyyyMM") THEN
{INVENTORY.TRANSACTIONCOST}
ELSE
0
I summarize these values and want to show them in a line chart.
I'm able to do a bar chart by adding all 12 calculated fields for every month under the 'Show Values' section in the chart expert.
In a line chart it won't actually create a line. I believe the resaon is that it does not recognise the 12 values as a series.
Would anyone know a way around this? In Excel I can just give it 12 values and it creates a line chart for me.