Categories
- All Categories
- 7 Oracle Analytics Sharing Center
- 13 Oracle Analytics Lounge
- 205 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.6K Oracle Analytics Forums
- 6K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 73 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Can Parameter values be used in custom calculations?

We would like to create a custom calculation that filters a measure by the year number in a parameter.
This parameter will enable us to see data in the ending balance of previous years.
We set up our Fiscal Year parameter in the image above.
The calculation validates, however it does not return the proper values. Any advice or input on this topic would be very much appreciated.
Best Answer
-
Hi @CarolineAnderson @Mallikarjuna Kuppauru-Oracle I had a similar calculation built in HCM and it does work. I also validated it against the seeded headcount metric with year as filter. The formulas i had was as below
Current HC - IFNULL(FILTER("HCM - Workforce Core"."Facts - Workforce Headcount"."Headcount" USING "HCM - Workforce Core"."Time"."Year" = @parameter("Period Year")(1111)) , 0)
Previous HC - IFNULL(FILTER("HCM - Workforce Core"."Facts - Workforce Headcount"."Headcount" USING "HCM - Workforce Core"."Time"."Year" = (@parameter("Period Year")(1111)-1)) , 0)
The query for the parameter initial value was as below
Period Year - SELECT "HCM - Workforce Core"."Time"."Year" FROM "HCM - Workforce Core" WHERE (("Time"."Year" IN (YEAR(CURRENT_DATE))))
Raghu
1
Answers
-
Hi Kumaran,
That's what I'm trying to do. I tried to wrote query that returns this value but nothing works so far ... any ideas ?
regards,
Benjamin
0 -
Hi,
Did you tried creating a seperate data set and use some query like Select :<xdo_var> as lang_session from dual ;
I tried for username and it works perfectly fine.
0 -
Hi Benjamin,
If the translation you need is linked to stored data, did you try to use the language table(table name_TL) instead of the base table in your DM ?
Gael.
0 -
Hi Lisa,
You need to have the Administrators role. It will allow you to do it.
Thanks,
Gautam
0 -
Thanks Gautam.
I don't suppose you know the exact name of the role? "____ Administrator"? There are so many options.
Does this mean that the general HR user are unable to share templates among themselves?
0 -
/>
Hi Lisa ,
As you can see the name of the role is ADMINISTRATORS. I don't use the HCM application , I use SALES CLOUD , however I know it very well that OTBI is same for every application. You just need to map the role properly.
Thanks,
Gautam
0 -
Hi Lisa,
You should be able to save the reports/analysis in Customer folder under shared. That's the only folder that users can save reports to other than My Folder.
Thanks
Venu
0 -
Hi Venu,
FYI , I have saved my analysis wherever i wanted to save. There is no such rule.
Thanks,
Gautam
0 -
Hi Venu,
That worked! Thank you. I'll have to dig deeper to see if there is an additional role required, but for the time being, I am able to post to the Custom folder.
Thanks everyone!
0 -
Lisa,
If you save the reports under shared folders other than custom by getting an admin role, those reports can not be preserved during upgrades and will be over written. the only folder that is preserved during upgrades is the custom folder under shared.
Hope this helps.
Venu
0