Prompt based on Dimension Hierarchy
Hi there,
We have a Organization dimension built with 5 levels : All, Company, Operating Unit, Division, Site.
eg
All
Company A
Operating Unit 1
Division 1
Site1
Site2
Division 2
Site3
Site4
Operating Unit 2
Division 3
Site5
Site6
Division 4
Site7
Site8
Company B
Operating Unit 3
Division 5
Site9
Site10
Operating Unit 4
Division 6
Site11
Site12
Division 7
Site13
Site14
Users access is determined via the security model where users are given access depending on which level they are allowed to see.
My requirement is to give users that have access to more than one level, a prompt where they can see data for any individual level they wish eg
If user1 has access to Company A, when she logs in, thh prompt must display Company A (for aggregated data) as well as all the Operating Units withing Company A and all Divisions in those Operating Units and all Sites in those Divisions...ie as per example above, she should see:
Company A
Operating Unit 1
Division 1
Site1
Site2
Division 2
Site3
Site4
Operating Unit 2
Division 3
Site5
Site6
Division 4
Site7
Site8
If user 2 with access only to Division 4 logs in, she should see data for only:
Division 4
Site7
Site8
I have tried doing this and have achieved it using 5 different prompts using the constrain option.
Is there any way that I can consolidate this into one parameter/ prompt; whereby when the user logs in, he/she can see a list of all the levels that he/she has access to in a single prompt / list of values???
Any help would be much appreciated.
Thanks alot,
Ash.
Yes, this can be done.
but there is little work around.. Using guided navigations
1. Create a report with column fx as case when 1=0 then markets.region else user() end
2. apply filter on this column is equal to User_1
3. Create another report with column fx as case when 1=0 then markets.region else user() end
4. apply filter on this column is equal to User_2
5. Now add all your prompts to dashboard, but each prompt should in each section object of dashboard.
6. For first section click on section properties, go to Guided Navigation...
7. Browse Source Request as first report.. and keep If request returns rows selected.
8. Repeat above step for another section.. but this time browse 2nd report.
9. Just save dashboard.
Check now..
Hope you understood..
Regards
Kishore Guggilla
Edited by: Kishore Guggilla on Feb 18, 2009 12:57 PM
Similar Messages
-
Dashboard prompt on a Dimension Hierarchy in Obiee 11g
Hi All,
I have created a hierarchy (parent-child) on a dimension 'A'. I am able to create a dashboard prompt for the dimension hierarchy. However I am not sure how to create a report that is to be filtered on this dashboard prompt. I tried using the attribute name that the hierarchy uses but that does not work. Can some one please let me know how i can filter a report by a hierarchy dimension prompt.
Thanks,
Nikita
Edited by: user12438396 on May 8, 2011 1:16 PMHi Nikita,
For your requirement, you need to go for Selection steps pane in the analysis(report). Click on steps link and then add the hierarchy column that you want to use and expand the hierarchy to the lowest level. Now select all these and all the attributes will now appear in the other side.
If you dont expand the hierarchy to the lowest level, then only the highest level values will appear in your selection at prompt.
Also make sure to check the 'override' checkbox in the bottom, this helps in filtering the values.
Hope this answers your question.
Cheers,
Obul -
Value based dimension hierarchy in OBIEE 10G
Hi,
I am a user of OBIEE10G. I have to create a value based dimension hierarchy in my RPD. My hierarchy should be such that when I click on any VP Name, the respective employees working under him/her should be shown. But my columns of VP Name and Employee_Name are present in separate dimensions. Hence when I drag the column of VP Name to Employee dimension and then create the dimension hierarchy, I get an error of illegal cross join .
Is value based hierarchy possible in 10G?
Pls reply.
Thanks
Ankita
Edited by: 848789 on Sep 28, 2011 8:40 PMHi Ankita,
As per my Understanding the VP column did't map to any LTS .
When ever u have multiple LTS in Dim Admin tool won't create Dimension Hierarchy manually we need to create that.
Follow these steps to resolve your Problem...
1) give the simple join in physical layer for that two tables.
2) Create one Dim table in to BMM layer drag all columns in 2 tables in to BMM Dim table so u can able to see all the columns is mapped in to their respective LTS.
3) Now u can create hierarchy manually step by step.Like Grand total Parent ----> Child level .
4) If u have any fact table joined with these dimension in physical layer give the logical joins in BMM layer and set the content levels properly.
Let me know need any detail clarification.
Thanks,
Satya -
Total levels on pivot with dimension hierarchy column incorrect
Hi,
I have a pivot table based on a single subject area, based on an Essbase cube.
The problem I have is that some of the totals against the collapsed dimension hierarchy column are incorrect, it is as if they remember the pre-updated state, even though I have bounced the services and turned all caching off.
When I expand the node then the totals appear correctly, but when reverted to the collapsed state it shows nothing again.
I have turned off caching via EM.
I have tried all flavours of totals, default, server complex aggregate et al with the same result for all.
I have double checked the results at source with an identical query in SmartView and the upper level dimension total is populated in its own right, as well as its children carrying totals which do not sum back to zero.
Any suggestions please??
thanks,
Robert.Can you validate the query hitting to the database and compare the results?
Mark if helps.
Thanks, -
Report totals with dimension hierarchy column on pivot table incorrect
Hi,
I have a pivot table based report that has one dimension column, a dimension hierarchy column and various measures.
The row totals do not match, detail to total, and I have tried both complex server based aggregate and report based aggregation, but neither are giving me the correct answer.
I have also tried adding the column that is the same as the top level as the hierarchy, but hidden, but this does not help.
I have also tried adding the lowest level of detail column, but hidden, but this does not give me the solution I need as all of the figures then appear at detail not aggregated level.
Any ideas please?
thanks,
Robert.Can you validate the query hitting to the database and compare the results?
Mark if helps.
Thanks, -
Changing the dimension hierarchy level keys in RPD online mode caused issue
Hi,
We tried to correct the dimension hierarchy level keys and remove prefered drill path settings in the business model layer in RPD in online mode. However this caused all the reports and dashboards based off of this subject area to show incorrect, and/or restricted data. The physical query generated by the answers requests were also incorrect.
Even restarting the server and presentation services could not resolve the issue. Can someone please help us to understand what could have caused this issue?
Thanks in advanceHi,
I am not sure why the existing reports throw an error when I change the RPD dimension hierarchy level keys. Does anyone know how I resolve this issue.
This is urgent. Any help will be most appreciated.
Thanks in advance. -
Obiee dimension hierarchy ?
what is purpose of od dimensional hierarchy in obiee ?
Dimension Hierarchy -
If you Introduce formal hierarchies into a business model it establishes levels for data groupings and calculations and provides paths for drilldown
Steps to Create a Dimension Hierarchy - >
Create a dimension object.
Add a parent-level object.
Add child-level objects.
Determine number of elements.
Specify level columns.
Create level keys.
Create a level-based measure.
Create additional level-based measures.
Create share measures.
Create rank measures.
Add measures to Presentation layer.
Test share and rank measures.
kp -
Does exist best practices for creation of dimension hierarchy based on table like
CAT_ID,PARENT_CAT_ID,CATEGORY_NAME where hierarchy tree might have different number of levels:
level1-level2
root -- level1-level2-level3
level1Thaks for your answer, I already read those articles. Actually question was about creating in OBI of hierarchy which has different number of child levels like this:
Organization - Division1-> Division1.2->Division1.3
- Division2-> Division2.1->Division2.2->Division2.3
Number of parent divisions under Organization is unlimited (Siebel model) and in table on which hierarchy is based not denormalized. -
Display two members of same dimension hierarchy using mdx on 2 diff columns
Hi,
Is it possible to print the parent of a member that belongs to a certain level in the hierarchy. For this example, the Dimension hierarchy is a Variable hierarchy based on a Row Source, - BOM - Bill of Materials.
Let say there is a BOM hierarchy with 4 levels.
Finished Good - Comp1 - Comp2 - Comp3.
Then we want to display in the IOP report as follows.
Finished Good Supply Chain--These are the column headers
Finished Good1 Finished Good1
Comp1
Comp2
Finished Good2 Finished Good2
Comp3
Comp4
Comp3
Edited by: user596497 on Mar 16, 2011 1:39 PMThe question is wrong ...
MDX helps you to construct cross-product of indices for the underlying cube and then it tells the system to find whether there is any cell with that index, and if so, returns a value for that combination.
If you put two dimensions next to each other, what does it mean? There is no such combination in the underlying cube as each dimension is uniquely represented. We will throw an error as follows:
You cannot mix-up display semantics with the syntax/semantics of MDX.
"Can only cross join sets with different dimensions Statement"
An internal error occurred during the query execution phase. Please contact your administrator.
Query Definition
WITH SET [AnotherGeography] AS '{[Geography].DefaultMember}' SELECT {Fiscal.DefaultMember} ON COLUMNS, { CrossJoin( {[Geography].DefaultMember}, {[Customers].DefaultMember}, {[AnotherGeography]}, {Hierarchize(Descendants([Product].DefaultMember, [Product].[Product Family], SELF_AND_BEFORE), POST) }, { [Measures].[Target Revenue], [Measures].[Demand Plan Revenue], [Measures].[Market Share], [Measures].[Adjusted Demand Plan Quantity] }) } ON ROWS FROM [Demand]
Can only cross join sets with different dimensions Statement: WITH SET [AnotherGeography] AS '{[Geography].DefaultMember}' SELECT {Fiscal.DefaultMember} ON COLUMNS, { CrossJoin( {[Geography].DefaultMember}, {[Customers].DefaultMember}, {[AnotherGeography]}, {Hierarchize(Descendants([Product].DefaultMember, [Product].[Product Family], SELF_AND_BEFORE), POST) }, { [Measures].[Target Revenue], [Measures].[Demand Plan Revenue], [Measures].[Market Share], [Measures].[Adjusted Demand Plan Quantity] }) } ON ROWS FROM [Demand] -
A Question Related to Dimension Hierarchy
Hi All,
While going through some hierarchies, i found that some columns were associated with the levels in hierarchy but these columns were not part of level keys.
I want to know that what is difference between the result when columns that are not level keys are associated with a logical level and when such columns are not associated with a logical level ?
Does such columns affect the result when selected in BI Answer?
For exp -
Suppose i have below time dimension hierarchy -
Time
->Grand Total Level 0
---> Year Level1
Year (Level Key)
Year Start Date
Year End Date
---> QuarterLevel2
Quarter(Level Key)
Quarter Start Date
Quarter End Date
---> MonthLevel3
Month(Level Key)
Month Start Date
Month End Date
---> Day Level4
Day (Level Key)
Day Start Date
Day End Date
These start date/end date columns are not part of level keys.
The same thing i have observed in other hierarchies too.
I want to know that what would happen, if these columns are not present at these levels?
So When should we associate columns those are not part of level key to levels and when we should not associate ?
Thanks,
AshishHi ,
The non key columns used in each of the levels help in faster retireval for that aggregate level .
If you look closely at these columns you will find these to be unique ,now having said that another point is that these levels are also used for aggreagation
as we all know.
For ex at the month level the key identifies all the unique moths but if data has to be shown for one particualr month then with the start momth date and end month date the retrieval would be still better :) -
We are in the process of creating a dimension hierarchy. We see multiple options here
There is Logical Level. Each logical level can have multiple keys. Each key (*Logical Level Keys* ) can have multiple multiple columns. Each column has a check box. The Logical Level Key dialog shows Use for drill down option.
What is the significance of
keys
Logical Level Keys
The check boxesAny thoughts on this please ?
-
Logical column - Aggregation - based on dimensions
Hi,
Can anyone explain the working of the aggregation based on dimension functionality. I understand it is different from level - based measures.
Thanks in advance.
- PritiHi priti,
Aggregation based on dimension .
Hav a look at this you get an idea http://gerardnico.com/wiki/dat/obiee/measure_level_based
UPDATED POST
Sorry i gave you the wrong link.This is what your looking for
http://gerardnico.com/wiki/dat/obiee/aggregation_based_on_dimension
follow this etiquette as your new http://forums.oracle.com/forums/ann.jspa?annID=939
Cheers,
KK
Edited by: Kranthi on Feb 24, 2011 12:20 AM -
OBI EE 10g: Bridge tables and Based on Dimensions Aggregation
hi experts,
i am working on OBI EE 10 g (10.1.3.4)
The BM&M layer consist of:
1) Logical fact table "Sale_Indicators"
Fields: SALE_ID (PK, FK),
D1_ID (FK),
D2_ID (FK),
Indicator1 (measure, level of granularity: SALE_ID),
Indicator2 (measure, level of granularity: SALE_ID),
Indicator3 (measure, level of granularity: SALE_ID)
2) Logical dimension table
"Sales" (PK: SALE_ID),
"D1" (PK: D1_ID),
"D2" (PK: D2_ID),
"Customers" (PK: SALE_ID, CUST_ID) - bridge table!
"Products" (PK: SALE_ID, PROD_ID) - bridge table!
3) Dimensions: SalesDim, D1Dim, D2Dim, CustomersDim, ProductsDim
If fact table is joined with bridge table, the number of rows in fact table is multiplied, for example:
D1_ID | SALE_ID | CUST_ID | Indicator1
777 | 1 | 14 | 10
777 | 1 | 17 | 10
777 | 2 | 15 | 12
888 | 3 | 16 | 20
888 | 3 | 17 | 20
888 | 4 | 19 | 30
I need to get report:
D1_ID | Indicator1 (SUM)
777 | 22
888 | 50
and with filter by customer, for example (CUST_ID = 17):
D1_ID | Indicator1 (SUM)
777 | 10
888 | 20
i am trying to use "based on dimension" aggregation, for example (Indicator1):
Dimension Formula
CustomersDim MIN
ProductsDim MIN
Others SUM
The generated physical SQL performs joining EVERY dimension to the fact table, even though they are not included in the final result set.
Is there any way to tweak logical or physical model in order to eliminate excessive joins?
Thanks in advance!
Edited by: 859688 on 31.10.2011 4:04
Edited by: 859688 on 31.10.2011 4:06
Edited by: 859688 on 31.10.2011 4:08I found this text on the help, but I didn't understand, because when I check the "based on dimensions" check box, I can choose aggregation rules for each dimension, not only the time dimension.
Also, I found in the help menu:
"In the Aggregation tab, select the Based on dimensions check box.
The Browse dialog box automatically opens.
In the Browse dialog box, click New, select a dimension over which you want to aggregate, and then click OK.
In the Aggregation tab, from the Formula drop-down list, select a rule."
I did the same steps suggested by the text above, but it didn't work. -
Default value of prompt based on another request
Hello:
I have a requirement where I need to set default values of prompts based on another request.
The prompt is a Date Prompt.
I tried it using presentation variable, and writing sql query, where is says " WHERE promo_id= @{variable}"
but it is still not working.
Please let me know the workaround for this issue.
Thank you.
- VinayHow is the End Date determined for your BETWEEN operator? I would assume that is variable. Also, is the second report on another dashboard page or on the same page? Assuming both reports are on the same page, do the below. If not, you can use the same prompts on the second dashboard page. Set the scope to "dashboard" and the selection the user makes carries to the second page.
The easiest way is to have 3 Dashboard prompts: Promo_ID, Start_Dt, and End_Date. Set these prompts to PVs: pvPromoID, pvStartDate, and pvEndDate, respectively.
Filter report one on pvPromoID and pvStartDate.
Filter the second report on pvPromoID and use pvStartDate in the filter of the Date column of report two. Assuming the BETWEEN values are variable, then you can write the following on the Date column of your second report:
"Table Name"."Date ColumnName" <= '@{pvStartDate}' AND Table name"."Date Column Name" <='{EndDate}'
And on your Promo column, use the filter "Table Name".Promo = '@{pvPromoID}'
When the user selects the Promo ID, Start Date and End Date from the prompts, both the first and second reports will be filtered accordingly. -
Need a measure variable based on dimension
Dear Experts,
I need a variable based on dimension.This should gives the values from 1 to n based on dimension.
Suppose i have a column "Wage type".If it has 10 rows,Then for first one it should be 1 and second one it should be 2 and so on.I want to implement break for this dimension,even though the variable should give same values as i mentioned above.
I try to use RowIndex and Count functions.But i couldnt get my requirement.
I want to use this values in Xcelsius.
I hope you can understand issue.
Regards
Venkat
Edited by: Venkat8130 on Jun 23, 2011 7:24 AMHi,
I worked on the same issue, in my case result in following format
year........count...month......revenue
2001........ 1........ jan............100
.................2.........feb............200
.................3......... mar...........300
.................4......... apr............400
2002.........1...........jan..........500
.................2..........feb...........600
.................3..........mar..........700
If you are expecting the same format, first break the report deportment wise. Create the variable count with bellow formula.
=RunningCount([Month];Break)
Regards,
Shahin.
Edited by: shahin13 on Jul 19, 2011 8:58 AM
Edited by: shahin13 on Jul 19, 2011 9:04 AM
Maybe you are looking for
-
Am having some problems with the sounds on my ipad, specifically my imessage notification sound when your ipad is in sleep mode and someone is messaging you. It seems to work with the swoosh sounds when you are actively messaging back and forth, but
-
Error while deploying iview for export to excel
Hi, I am trying to Export Data into Excel in VC. If I will Compile then its ok No errot. But while deploying its giving a error like Error in compiling Flex application: Error 1002: String literal was not properly terminated (E:\usr\sap\ND1\JC0
-
Dvd image to large to fit screen
i have a pavillon g series laptop.playing a dvd and the image is to large to fit screen . I have tried everything I know . I can play the dvd on my wifes laptop it works fine (not a HP). any sugestions would be great
-
I'm quite annoyed how I ended up in this situation. Paid for the program, downloaded it, installed it. Put the serial number in and now only to find out I needed a previous version of acrobat. I didn't see anything on the purchase page that said that
-
Problem in MEREQ001 enhancement
Hi Experts i have to add additional fields during create of purchase requistion me51n which i hv done using MEREQ001 enhancement i have created screen also add fields maxqty in CI_EBANDB include now i want to display total stock for particular materi