on 05-28-2015 12:16 PM
Hi ,
We are using CR 2013 and HANA as our data base..
We have an requirement where I need to dynamically display th ebelow labels for the report with the user eneterd date .
EX ( Feild Name : CY New Offices as 2015 New Offices and PY New Offices as 2014) and this should change according to user enetered Year ( EX: 2010 ) then it should be PY as 2009 New Offices and CY as 2010 New Offices
Can Anyone help me in writing a formula to display the Dynamic Feild Labels ? the folmula is just to change the Label name dynamically instead of static CY or PY in the label.
Thank you in Advance !
Regards,
HR
Hi Sruthi,
For Previous Year use:
Year({?Date_prompt})-1
For Current Year use:
Year({?Date_prompt})
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the Reply Abhilash . but, when I created this formula in Formula Feilds and dragged it to my Report this is changing the Data along with the Feild Label .
I would Want only my Feild Label to change as " Year({?Date_prompt})-1 New Office "is this possible ? I did not know how to apply this only to the feild label .
Thank you very much ! Its worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this formula..
if {user enetered Year} = {current year} then current year + + 'New Offices'
else
(current year -1) + + 'New Offices'
thanks,
dj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.