在x轴上显示关于财政年度变化(例如:2013-14)的水晶报告13中的图表。 [英] Display chart in crystal reports 13 on change of financial year(eg: 2013-14) on x-axis..
本文介绍了在x轴上显示关于财政年度变化(例如:2013-14)的水晶报告13中的图表。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在oracle数据库中有日期(DD / MM / YYYY)列,想从中提取财务年度,并在财务年度变更的水晶报表中显示条形图...
dfo我怎么写公式...?
I have date(DD/MM/YYYY) column in oracle database and want to extract financial year from that and display bar chart in crystal reports on change of Financial year...
How dfo I write formula for that...?
推荐答案
感谢ans ...它有效但我不想'YYYY- MM'...我想要财政年度(例如:从日期范围 01/04/2013至2014年3月31日应该返回'2013-14'。 ..
Thanks for ans... It worked but I do not want 'YYYY-MM'... I want financial year (For eg: from date range from 01/04/2013 to 31/03/2014 should return '2013-14'...
SELECT EXTRACT (YEAR FROM ADD_MONTHS (FieldName, -3))
|| '-'
|| EXTRACT (YEAR FROM ADD_MONTHS (FieldName, 9))
FROM TableName
这篇关于在x轴上显示关于财政年度变化(例如:2013-14)的水晶报告13中的图表。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文