on 10-15-2015 8:21 AM
Hello All,
I have a condition "Production Year Prompt" which Returns data for the selected production year and the year prior to it.
@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,) or
@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,) - 1
I have to implement "Default Year" to the exiting condition. We are using BO 4.0 Sp5 and Teradata as backend. Any idea on how to implement in the existing code?
Thanks
Sandy
Hi Sandy,
Which Year do you want to set as Default Year? I'm setting 2015 as default year in the below formula.
@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,{'2015'}) or
@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,{'2015'}) - 1
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
I used this blog to create and test what you want, I updated it a bit to get Current Year
Dave's Adventures in Business Intelligence: Dynamic Dates Part I: Yesterday and Today
Voila, you got it. Now the report is as if it has filter on Year = Current Year.
Thanks,
Mahboob Mohammed
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.