on ‎2017 May 11 3:37 PM
I have a requirement to have some Webi reports scheduled anytime and broadcast with the current Fiscal Year and the current Period (month) data.
Fiscal_Year and Period (i.e. 2017 and 05) are numeric objects in the Universe.
Can someone help me with a formula? And how to implement it? am not sure which is better, at report or Universe level?
Or is it simpler to just use the system date in a filter? Then, how?
Thanks in advance.
Enrique
Request clarification before answering.
Hi Enrique,
Can you please tell me do you have any date field to identify year and month in your data.
If you have such we can do as follow.
I am considering YearD and MonthD objects from your data.
You need to create formulas as below.
Variable 1: Current Year =Year(CurrentDate())
Variable 2: Current Month =MonthNumberOfYear(CurrentDate())
Variable 3(Current year filter): if(currentyear=Yeard) then 1
Variable 4(Current month filter): if(currentmonth=Monthd) then 1
Once you create all above formulas.
you can apply filter on the report as Current year filter=1 and current month filter =1.
Hope this solve your purpose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi;
Create variables::
Current Year =Year(CurrentDate())
Current Month =MonthNumberOfYear(CurrentDate())
Hope it helps;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create two objects in universe for current Month and Year.These you can create on currentdate() function.You have Year & Month function in universe to get the values.
Instead of using prompt use these in the webi queries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.