Does OBIEE 11.1.1.7 support AGO function at Week level
Hi,
I have a time dimension with Year,Quarter,Month,Week and Day Levels.
Year - 2013,2012...
Quarter- Q1,Q2,Q3,Q4
Month - 1,2,3..12
Week - 1,2,...52
Day - Date_id (20130101...(YYYYMMDD).
My Keys are : Year Level(Year_Number)
Quarter Level (Year+Quarter Number)
Month Level(Year+Month number)
Week Level(Year+Week number)
Day - Date_id(also defined as chronological keys)
I am creating a AGO(Measure,Level,1) in answers for Year and Week Level and they don't render correct results.
I started building the hierarchy with only Year and Day levels..verified the results - Looks Ok.
Similar fashion proceeded with Year,Quarter,Month and Day - Looks OK.
When I introduce Week level - All the AGO values are incorrect.
Any help on this is really appreciated.
Regards,
Swetha
Thanks Srini Veeravalli for your reply.
Yes I have verified it thoroughly.I have implemented this before on 10G for other customers and I don't feel that something is wrong with it .
I found this link on AGO Function in OBIEE 11G:
=======================================
https://forums.oracle.com/message/9323083
Does a month have always the same number of week and begin with the first day of a week ?
If it's not the case, your dimension is not good when you make a report on the week grain for a year ago for instance.
Here a check list:
http://gerardnico.com/wiki/dat/obiee/ago_todate_configuration#timecalender_dimension_design_verification
============================================
OBIEE 10G/11G - How to set up the time dimension (for time series functions Ago, Todate, ...) ? | GerardNico.com …
In the above post also, Time dimension configuration for AGO/TODate ( Time series) are set up with 4 levels: Year,Quarter,Month and Day.
So Just needed a confirmation if week level shouldn't be in the hierarchy in 11.1.1.7.
Regards,
Swetha
Similar Messages
-
Does OBIEE 10.1.3.4 support 64 bit processor AMD Opteron 8216
Hi All,
The OBIEE was installed on 64 bit processor AMD Opteron 8216, but the OBIEE installables were for 32 bit processor.
Is it that OBIEE doesnt work properly with 64 Bit processors or is this any other issue.
Help will be appreciated
Edited by: user11001347 on Dec 18, 2009 2:42 AMReuse the software installation, choose a custom installation and choose the component Oracle Business Intelligence ODBC of JDBC Driver
Details here :
http://download.oracle.com/docs/cd/E12096_01/books/AnyInConfig/AnyInConfigOptions2.html#wp1058229
Cheers
Nico -
Hi,
I am creating a new logical column on my fact table and would like to use time series function(AGO) to compare trends a month ago. I have a time dimension too.
I am using this expression defined in the new logical column properties:
Ago("HCBF"."Workflow Fact"."Total Case Handlers" , "HCBF"."Time"."Month of Year" , 1)
I get the following error message:
[nQSError: 27009] Unresolved identifier: "HCBF"."Time"."Month of Year".
The function expression appears to be fine, month of year is numeric and total case handlers is a count.
Can anybody help resolve this error message.
ThanksHi,
An issue remains with the AGO function in BI Answers, when I try to run a report in answers with the new column created in the fact table I get the following error in the log file:
Query Status: Query Failed: [nQSError: 22040] To use AGO function, the storage level of the query ('[Time.Dimension Key]') must be a static level.
I am selecting month name(Filtered on May 2010) and choosing fact measures(total cases, lastmonthcases). lastmonthcases is the new logical column created using AGO function.
Does this error look familiar, there is a time dimension key in the logical time dimension table but this is not referenced in the hierarchy.
Thanks -
Time series questions - how to do AGO function for prior year end
Question on how to perform the following calculation in OBIEE:
I need to create a time series calculation that will calculate a metric as of Dec prior year. For example, my users will select Mar 2010. I want to show the amount for Mar 10 as well as the amount for Dec 09. If the select Jun 10, I will show them the amount for that month as well as Dec 09.
Is there a way to do an AGO function that will give me this value? I can't use a filter calculation on my column because filter on the period will exclude these recordsThanks John. Your suggestions seems promising but I'm having issues when I tried it out. I am receiving the following error message:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22046] To use AGO function, the query level ('Fiscal Period, Prior Fiscal Year End Date') must be a static level. (HY000)
What I did was create a new level off my Fiscal Time dimension which is a child of Total. I tried creating my AGO calculation using this level but received that error message in Asnwers. Any ideas on what I may be doing wrong? -
Any alternative to ago function
Hello,
I am using obiee 11g.Trying to use ago function at quarter level with the date prompts as filter
instead of year prompt but somehow the data is not matching properly.
Would like to know if there is any alternative to ago function?
I just want to calcultate the count(distinct(id)) for current and previous quarter,where the report gets filtered by date fields.
The report has user column,quarter column and the currrentcount and previous count.
like
user1->Q1->10->19
user1->Q2->20->10
User3->Q1->11->26
Any help on this please?
ThanksHello,
Thanks for reply.
Is the grain below quarter level?
------> Calc date is below quarter level in the time dimension,Time dimesnion has FS Year(level1)->FS Quarter(level2)->Cal Date and Time key(Time key is the primary key with the combination of cal date and the pk of some other table (level3))
Does quarter exists as a field in your date dimension?
--------->Yes Fs Quarter is a field/column in the table and in the dimension
check if quarter is a chronological key, does your quarter contain year in it(2011-02)?
-------->In each level i have key defined, also in the FS Quarter i have.
In the level3 i have both the key defined as key but cal_date as pk.
Yes, Data of the qtarter is in the form 2012-01.
Do you have quarter in your report, without date field?
--------->yes, the report has FS_qtr,count for current qtr,count for previous qtr using ago function
and the filter used is cal_date>='01-JUN-11'
facts->
There is a view in the database which is being created for time dimesnion.
The view has
FS_Year , FS_Qtr , Calc_Date ,Cal_month , cal_qtr, TimeKey(PK) , Pk_from someother_table_acting_as_fk.
Please let me know where i am going wrong?
One more thing i would like to add if i use the filter as FS_YEAR>=2011 then the counts comes perfectly.Problem is with cal date field.Just not bale to understnd where i am i going wrong?
Please help
Thanks
Edited by: user123 on Feb 10, 2012 11:00 AM -
Ago function not working in reports
Hi
I created a logical column using ago function,when I'm using this column in the report it throws the following error.I'm using 10.1.3.4.1 version of OBIEE.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22040] To use AGO function, the storage level of the query ('[TIMES.TIME_ID]') must be a static level. (HY000)
SQL Issued: SELECT COUNTRIES.COUNTRY_NAME saw_0, SALES.AMOUNT_SOLD saw_1, SALES."Amount Sold LY" saw_2 FROM KNOWLEDGE WHERE (TIMES.CALENDAR_YEAR = 1999) ORDER BY saw_0
Thanks
Don.Hello Don,
Have you set the chronological key for the time dimension ?
Please refer the below post by Nico..
http://gerardnico.com/wiki/dat/obiee/function_time?s[]=ago&s[]=function
Same error it has been posted in below mentioned thread
Re: Using the Ago Function
One Request : Please if your post has been answered then please try to close the thread by awarding so that it can be helpful to others.
thanks
Edited by: user12116294 on Feb 4, 2011 5:18 PM
Edited by: user12116294 on Feb 4, 2011 5:20 PM -
On the AGO Function need to Create TODATE function with Diff levels - MTD,Q
Hi All,
My Basic Requirement is to Create Time Series Function on AAA ie ( Month To Date , Quarter To Date and Year To Date )
The Logic for the AAA = XXX / Previous 3 Months Revenue.
we know that we can use the AGO Function to create Previous 3 months Revenue with Month is Level . But the issue is .... i cant use AGO function since i need to perform Year to Date, QTD and MTD upon 'AAA' this OBIEE doesn't permit to use nested time series functions upon varying levels .
So How can i Resolve the issue ie creation of TODATE function on the AGO Function with Diff levels
Thanks,
Swapna Shi,
for your requirement create three repository variables like
for previous 3 months create repository variable like
select to_char(sysdate,'yyyymm') -3 from dual;
for month to date first calculate first day of the month
select To_Char(Add_Months(Last_Day(Sysdate),-1) + 1,'MM/DD/YYYY') from dual;
after put a filter in answers date between first date of the present month and current date
create the same thing for year to date
calculate first date in the year like following query
select To_Char(Trunc(Sysdate,'YEAR'),'MM/DD/YYYY') from dual;
after that apply filter date b/w first date in the year and current date
i hope it works for your scenario
Regards
Naresh
Edited by: Naresh Meda on Nov 10, 2008 2:08 AM
Edited by: Naresh Meda on Nov 10, 2008 2:12 AM -
Hi,
I have a time dimension with levels AllTime, Year, Month, Week, Day. I set the chronological key to the day and created an Ago Measure in my fact. The repository global consistency was successful. However when I used it in answers, I got the following error message:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22040] To use AGO function, the storage level of the query ('[DIM_DATE.DIMENSION_KEY]') must be a static level. (HY000)
SQL Issued: SELECT DIM_DATE.CALENDAR_YEAR_NAME saw_0, F_TEST.MEASURE saw_1, F_TEST.YearAgoMeasures saw_2 FROM WMS ORDER BY saw_0
Does anyone have any idea please? Note that the DIM_DATE.DIMENSION_KEY is the primary key of the time dimension table.
Thanks a lot
MarijaHi Wildmight,
I restarted everything and got the "must be a static level. (HY000)" error fixed. Then I checked the chronological key in the level "year" but it seems not to be working. It's taking a long long time to show the results (I finally cancel it).
Reviewing the nqquery log file, I don't really get how obi retrieves the todate info, it uses the analytic function: ROW_NUMBER() OVER (partition by....), do you get the same?
Thanks again. -
3702 Support full functionality in Autonomous Mode
Does the 3702 , 2702 and 1702 support full functionality in Autonomous mode? i know there was a limited Site Survey function but wondering if they have added full function for these APs?
Yes it does and also check the table below , both firmware are shown LAP and Autonomous for supported APs including 3700 series.
-
Error while using Ago function
hi all,
OBI 11.1.1.7.1
I am unable to view data on result tab. No value returned in Calcutated Attribute. Please Help
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22040] To use Ago function, the storage level of the query ('[Time Dim.PAY_DT]') must be a static level.Please have your System Administrator look at the log for more details on this error. (HY000)
Regards,
NiveditaSubstr("Fin Account".ASSET_NUM, 1, instr(Fin Account".ASSET_NUM, ':')+1)
or
Substr("Fin Account".ASSET_NUM, instr(Fin Account".ASSET_NUM, ':')+1,50)
i think you should use 3 parameters, did you try that if it would work?
additionally check what is the default format of your data: go to column properties -> data format; if its text then ok; otherwise you will have to cast the number to char; in such a case the above could be:
Substr(cast("Fin Account".ASSET_NUM as char(20)), 1, instr(cast(Fin Account".ASSET_NUM as char(20)), ':')+1)
or
Substr(cast("Fin Account".ASSET_NUM as char(20)), instr(cast(Fin Account".ASSET_NUM as char(20)), ':')+1,50)
Edited by: UserMB on Jun 25, 2009 6:17 AM -
AGO Function in Times Hirerachy
Hi Guys
i am able to create multiple hirerachy in time dimension and assigned time_id as chronological key which is at the dimension detail level and acting as shared child level for both of them......
I have created AGO function for calendar year as
AGO(Test."Fact".amount_sold, Test."Time Dim"."Calendar Year", 1)
but when i have used AGO column in answers i am getting below mentioned error:-
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22046] To use AGO function, the query level ('Calendar Year, Fiscal Year') must be a static level. (HY000)
any suggestion would be appreciated to solve this.
thanks & regardsSplit your time dimension in one for calculations and one for "regular" use.
regards
John
http://obiee101.blogspot.com/ -
Hi
I'm trying to use the 'AGO' function to have The sales of one year ago
My time dimension is a normal table imported from the database and has one hierarchy:
Year Level
--Week Level
I defined the week date as a chronological key and made a the new calculated column:
AGO(salesMeasure, DWH_TIME_DIM.WEEKS, 12)
Then In Aswer I get This Error
*[NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22040] To use AGO function, the storage level of the query ('[DWH_TIME_D.Dimension Key]') must be a static level. (HY000)*
Any one knows why???
RegardsNaresh
I don't see any *(use existing columns as source)* In the creation window of the repository variable I only have a default Initializer.
What I manged to do also is to write this formula in the default initializer : ADD_MONTHS("orcl".."DWH"."DWH_TIME_D"."YEARIW_TIMEDATE" ,-12)and after to use it in a new calculated column with your expression :
case when times.year=valueof(previousyear) then salescolumn end
But I had a syntax error I think I can't use Add_months for this.
Regards -
Does ago function works at day level in obiee 11g
Hi,
I want to know does AGO function works well at day level in Obiee 11.1.1.6 .
Edited by: user12635494 on May 8, 2012 2:58 AMYes, it will work. Just double click the Time level (say year/month/week), mark it as a chronological key (on keys tab). Use that in your AGO function
-
Does OBIEE supports only windows 7 64 bit?
Oracle My support is not available for OBIEE installed in windows 7 32 bit OS. Does OBIEE supports only windows 7 64 bit?
Guys please guide me?i ahve isntalled it on 32 bit Os windows 7, but the problem is while configuring (last step of installation) got few errors unable to rectify it. hence continued by skipping those error. but finally after deploying rpd file into weblogic server, unable to start those 5 BI components.
-
Does obiee 11g supports XSL format
Dears,
Does Obiee 11g supports XSL style sheet files? Some of the legacy reports are using data which are pulled from the database and formatted via XSL and some are generated from XML/XSL files?
I have looked at XML connection pool, it only supports importing XML format as source file.May be I am wrong? I do not have great hands on BI publisher.
Thanks,
UdayHi Uday,
If I understand correctly, XSLT is mostly about parsing through the XML and presenting it to the user in some format with colors,fonts etc (Just like CSS).
So in case of OBI,
1.It can read the data from the source XML documents itself (Doing the job like of XSL Parser)
2. Present to the users in the format you need (Doing the job of XSL Renderer).
So, you just give BI the source data in the form of XML, design the metadata as per your business needs and the OBI Presentation Services component can do the job of presenting.
Hope this gives you some idea of BI just working like XSL.
Thank you,
Dhar
Maybe you are looking for
-
PS and LR - Can be used on different computers?
Before I purchase PS and LR I want to make sure I can log in from ANY computer and use PS and LS. Is this possible? I have more than one computer and I want to make sure before purchasing that I won't be limited to the only using PS and LR on THAT co
-
Issue with frames-based sites in Sf-3(L); Looking for confirmation
Is anyone else having issues with Safari 3 (Leopard) and frames-based sites? Specifically, frame sizes not being obeyed? For example, phpMyAdmin's left Navi frame is, in most themes, supposed to be about 180px wide; if need be, the frame is coded to
-
Call bdc or call transaction in bapi
Hi, i create MAM sales order using bapi BAPI_ADMGMTSO_CREATEFROMDATA . But i want create genral business partner using t-code bug1 for that i use bdc. how i should call that bdc in above bapi. Please anybody suggest solution for this?
-
Hi, I have IR report where last column shows images. When I click image I like use lightbox to show image as it real size. It is working when I run page. But when I filter, images are shown in "new" page. I have this on my page header <script type="t
-
Using Outlook as Mail in Aperture
Aperture is set to use MAC MAIL to attach a photo. Is there a way to use MAC Office Outlook 2011 ?