Regarding two Dimension Hierarchy from Single Dimension
Dear Experts,
I had to develop drill down reports.
We have a CustomerDim which contains columns: Region,Country,State,City,CustomerID,CustomerName
Case 1: Some reports should have drill down levels: Region->Country->State->City->CustomerName
Case 2: Other reports should have drill down levels: Region->Country->City->CustomerName
Case can be achive by creating Dim Hierararchy of CustomerDim with levels Region->Country->State->City->CustomerName.
But how to achive case 2, in which we do not want level *'State'*?
Thanks in advance...
Regards,
Avi....
Hi,
I think you can find your answer in another post Query selected levels of multiple hierarchies of one dimension
Thanks
Brijesh
Similar Messages
-
Multiple Hierarchies from Single Dimension Table in OBIEE-11g?
Is it possible to have Multiple Hierarchies from Single Dimension Table in OBIEE-11g?
Like 1)Year-Qtr-Month-Weeks 2)Year-Month-DaysHi,
or if your lowest level is the same like
Day->month->year->Total
Day->businessMonth->businessyear->Total
Then yes, it is.
Create the first, then you start to create the second by adding your top(business year) level on the same level as the one you have (year) both under your total.
Then when you would add your second base level, there is a special option for it, something like use other hierarchy level/shared level (sorry can't recall and does not have a connection right now) then you select your existing day level under your businessmonth level.
Hope this helps,
Regards,
D -
PSPB - Can you assign 2 attribute dimensions to a single dimension
I am working on a PSPB install and am curious if I can associate 2 attribute dimensions to a single dimension? More specifically, NACUBO codes will be assigned as an attribute of Project ID. But NACUBO codes are broken up into 2 parts, Project Code and Program Code. I need to report on these 2 both separately and together.
Thanks,
MaxYes, you can. You just cannot assign 2 attributes from the same attribute dimension to the same member.
-
How can I Generate two different reports from single execution of Test cases in NI teststand
Hi,
My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
Solved!
Go to Solution.Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property.
Also, be aware that step's post-expression is not executed in case of error in the step.
Sergey Kolbunov
CLA, CTD
Attachments:
SequenceFilePostStepRuntimeError_Demo.seq 7 KB -
PAS QUERY: parent-child in to different columns from single dimension
Hello,
We are looking for the syntax to execute a PAS (Pilot Application Server) query with the following characteristics:
1) Products dimension is hierarchically arranged by Product Type (parent) and the Product itself (child). There are other ancestors but we wonu2019t necessarily use them.
2) We want to obtain a report through PAS scripting which allows us to display product hierarchy names in two different columns, i.e.: Column1 (Product Type) Column2 (Product) , but since they are part of the same hierarchy (dimension), we are not able to present the results as shown in the example below:
Example:
Product_Type Product Metric
Core ProductX MetricN
Core ProductY MetricN
New ProductW MetricN
New ProductZ MetricN
Any clues on how to attain this?
Thanks in advance.Hi,
You can make use of CrossJoin function in MDX, I give a sample MDX based on the AdventureWorks database:
select {[Measures].[Reseller Sales Amount]} on 0,
crossjoin({[Sales Territory].[Sales Territory Group].[Sales Territory Group].members},{[Sales Territory].[Sales Territory Country].[Sales Territory Country].members}) on 1
from [Adventure Works]
After execut the MDX you will get the result like this:
Reseller Sales Amount
Europe
France
$4,607,537.94
Europe
Germany
$1,983,988.04
Europe
United Kingdom
$4,279,008.83
NA
NA
(null)
North America
Canada
$14,377,925.60
North America
United States
$53,607,801.21
Pacific
Australia
$1,594,335.38
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Hi all
I need your help for an approach to the following problem. Lets say that i have the following dataset
AccountMonth
ActivityMonth
Amount
201307
201301
2.500
201307
201304
600
201307
201305
900
201307
201306
4.000
201307
201307
500.000
201308
201305
500
201308
201307
400
201308
201306
300
201308
201308
400.000
201309
201307
300
201309
201302
500
201309
201309
100.000
201310
201305
400
201310
201309
50.000
201310
201310
200.000
In my cube i want the user to select the Accountmonth from one time dimension, but i want some logic to also apply for the ActivityMonth. For one measure if I for example select 201307 i'll get this amount
AccountMonth
ActivityMonth
Amount
201307
201301
2.500
201307
201304
600
201307
201305
900
201307
201306
4.000
201307
201307
500.000
This is easy - Accountmonth dimension is related to AccountMonth column in the fact table. Now i also need another measure, where the month selected needs to be meet for both accounting and activity month. This is also easy, as i can just reference both
columns in the fact table. Result in this case is then only one row:
AccountMonth
ActivityMonth
Amount
201307
201307
500.000
Now the tricky part comes when I start to select more months, because the amount i need is where month combinations are shared, so if i for example choose 201307, 201308 and 201309 i don't just want
AccountMonth
ActivityMonth
Amount
201307
201307
500.000
201308
201308
400.000
201309
201309
100.000
I actually want the amount from which the months is in either accounting or activity, like this
AccountMonth
ActivityMonth
Amount
201307
201307
500.000
201308
201307
400
201308
201308
400.000
201309
201307
300
201309
201309
100.000
I know how to solve it either by having two time dimensions or using MDX, but user should only have to select from one time dimension. So far, solving it using Non-empty/existing in MDX is not performing fast enough. Feedback will be appreaciated if you
have an idea of how to solve this.So far, solving it using Non-empty/existing in MDX is not performing fast enough. Feedback will be appreaciated if you have an idea of how to solve this.
here are some links about performance tuning
http://www.mssqltips.com/sqlservertip/2565/ssas--best-practices-and-performance-optimization--part-1-of-4/
http://technet.microsoft.com/en-us/library/cc966527.aspx -
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 -
Hi Friends,
i want to generate report from single dimension table with out using alias.is it possible?.If it is possible Please answer me.Hi,
BI server needs one fact table to be joined to produce the query.
If you are having at least one fact table in the RPD then the dimension table will try to create join with the fact table and produce the result with the dimension table only.
But in the physical query it will have the fact table too.
Or else you can create a dummy fact table in the RPD.
Refer-
http://www.rittmanmead.com/2009/08/oracle-bi-ee-10-1-3-4-1-reporting-on-non-transactional-dimension-values-equivalence-of-outer-joins/
Please let me know further and hope this helped/ answered.
Regards
MuRam -
Unable to join dimensions & measures from 2 diff context in single table
Hello,
I am a newbie in the BO & Webi arena and have an issue in merging dimensions & measures from two different contexts(in universe) in a single table.
I tried using ForceMerge but dint work out.
Heres my scenario,
query 1- Fiscal Yr, Month, Physician,Metric,Rate
query 2- Fiscal Yr, Month,Metric,Rating Scale,lower limit,upper limit
So, i have to ceate a report involving Fiscal Yr, Month, Physician,Metric,Rate & Rating Scale.
For each 'Metric' there is specific range which defines its 'Rating Scale'.
Ex. Tetanus Vaccine(Metric) has a the following scale
Lower limit Upper Limit Rating Scale
0 69 0
70 89 1
90 90 2
91 95 3
95 100 4
The value of 'Rate' lies in between these values and accordingly it should get the scale.
So, the report should be like
fiscal yr Month Physician Metric Rate Scale
Any help will be highly appreciated!
Thanks in advance.Hi Vicky,
From what I have read in the above posts, you have merged Fiscal Yr, Month and Metric objects as they are the common dimensions. I assume "Physician" is the only other dimension among all the objects that you have listed.
In your report, you need to use the merged dimension for Fiscal Yr, Month and Metric. For Physician, you can use the dimension from query 1, as there are no other dimensions that you are planning to display.
If the above things are right, then your calculation should work correctly.
If it is not working correctly, I have a feeling that you have not merged Metric object. In case if you have any other dimensions than what is listed above, let me know.
Regards,
Srivatsa -
Multiple dimensions from single logical table
Hi,
I cannot seem to create multiple dimensions based one one single logical table. For example, I have a Time table from which I'd like to create a calendar time dimension and a fiscal time dimension. However, as soon as one dimension is created, I cannot create another dimension from the same logical table.
Is it possible?
ThanksJlin,
If I understood your requirement correctly you need to create multiple Hierarchies out of a single Logical Dimension table, this is possibe the base rule for creating a hierarchy is you should have a common starting point( Grand Total Level) and a common ending point( Detail Level), first create this and create sublevels and share the Detail Level as a child. This will allow you to create multiple hiearchies out of a single dimension. One level will have drill down on the Calendar dimension and one one the Fiscal and both will have the common detail key like day key.Hope this helps.
Arjun -
Can OBIEE handle hierarchy built from different dimension tables?
Can I build an hierarchy with values at various levels appearing from other dimension tables in the model ?
ThanksHi,
if you want to drill in Answers from an attribute of a dimension to the attribute of anothr dimension, you can use the Preferred Drill Path inside the level of an hierachy.
For example:
Dime Time
-Year
--Month
---Day
Dim Geography
-Continent
--Nation
---City
If you set in the Month level of the Dim Time the Preferred Drill Path to Nation, in Answer when you drill from Month you see Nation.
I hope it helps.
Regards,
Gianluca -
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] -
I'm creating a SSRS report using SSAS cube as a source.
When creating a dataset for the report, I'm having trouble with MDX to select a specific dimension member and its descendants from parent child dimension where dimension member names can be same in dimension hierarchy.
Lets say for example that I have an account dimension where,
In level 02 I have company ID:s 101, 102, 103 and so on...
In level 03 I have Balance sheet
In level 04 I have some account groups, Assets, Liabilities and so on... and In level 05 I have individual accounts
How can I select for example company 102:s Assets from level 04 and its descendants?
Normally in adventure works I would do this if I've wanted Current Assets and its descendants:
SELECT NON EMPTY { [Measures].[Amount] } ON COLUMNS, NON EMPTY
{ (DESCENDANTS([Account].[Accounts].[Account Level 03].[Current Assets]) ) } ON ROWS
FROM [Adventure Works]
But in my Account dimension at level 04 I have Assets member as many times as I have companies in level 02.
TuomoHi Tuomo Helminen,
To this requirement of yours, I would recommend you use Cascading Parameters in Reporting services, you can refer to this FAQ How do I create cascading parameters when using cube database in Reporting Services at this link
http://blogs.msdn.com/b/sqlforum/archive/2011/04/11/forum-faq-how-do-i-create-cascading-parameters-when-using-cube-database-in-reporting-services.aspx
Thanks,
Challen Fu
TechNet
Subscriber Supportinforum
If you have any feedback on our support, please [email protected]
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Mini dimensions and "single dimension" query
Hi everyone,
I thought it is about time to bother you with a question. :)
I have a question about mini dimensions. In BI Apps mini dimensions are used within the dimensions like the Service Request Dimension. This dimension has two logical table sources: W_SRVREQ_D and W_SRVREQ_MD. Each logical table has a separate physical join on the fact table, i.e. the fact tables has a separate foreign key for each table.
The Service Request hierarchy is built up by the following levels: All > SR Attributes > Service Request Detail. The mini-dimension table W_SRVREQ_MD is set on logical level "SR attributes" and W_SRVREQ_D is on logical level "SR Detail".
"Status" is a column which is mapped to both tables and this column is on logical level SR Attributes. When I use Status and a measure from the fact table, the BI Server will hit the mini-dimension, because it is on a higher logical level. So far, so good.
But when I create a request which only contains the column Status, the BI Server chooses the more detailed dimension table W_SRVREQ_D, instead of W_SRVREQ_MD. I'm a suprised by this, because I would expect the BI Server to use the mini dimension table.
This can be a performance problem when a user wants to see all values from a column, for example when creating a filter. I know I can solve this with caching the dimension values, but hey.. you don't use mini dimensions for nothing! ;)
Adding an implict fact doesn't solve the problem. The implicit fact is only used when you combine multiple columns from different dimensions. I've also checked the number of elements per level, but these are also set correctly.
For now I don't see a solution to change this behaviour. Can anyone confirm and explain this behaviour? Does anyone have an idea how to force the BI Server to use the mini dimension table on a "single dimension" query? Thanks!
Regards,
StijnStijn,
Did you ever get an answer to this?
In addition to the scenario that you mentioned (report on Status alone) another common case is a dashboard prompt that has a drop down list box for Status. I would hope that the BI server would choose the mini-dimension instead of a distinct query on the primary dimension (service request).
A possible solution is to add an LTS of a List of values table (LOV) that filters out only the statuses, but the problem there is that a query will result in LOV values that are not in use, whereas if the mini-dimension were used it would only result in actual statuses.
Thanks,
David -
Can we retrieve Data of Single Dimension in multiplecolumns in Excel Add-in
Hi All,
I have strange requirement of having single dimension in two columns while retrieving data from essbase using Excel Add-In.
Logically I feel it is not possible however we are looking if there is any possibilty of work arround for this requirement.
Whenevr i am trying to retrieve data using a macro on a single column we are able to successfully do it. But in case of multiple columns we are unable to do it.Do let us know if there is any work arround or alternative method to handle this requirement.
Regards,
KrishnaNot completely sure what you mean by "single dimension in two columns". Normally this request comes down to wanting to show multiple levels from a dimension, e.g...
_______________"Sales"
"100" "100-10" 12345
"100" "100-20" 34567...which is definitely not possible.
If you just mean data like this (with multiple columns from the same dimension)...
________"100-10" "100-20"
"Sales" 12345 34567...then that should work fine.
If you could post a sample of what you'd like to see, it would be easier to answer.
Maybe you are looking for
-
Scuff on MacBook Pro (Late 2006) non-glare screen
My otherwise pristine MacBook Pro (Late 2006 model, 2.33GhZ C2D) has developed a 1/4-inch scuff right in the middle of the screen. Small, but highly distracting, particularly when the area beneath it is white. Can anyone recommend a product to minimi
-
Mini SATA - How do I know it's working?
Hello all, I received by brand new T430s about 48 hours ago. On the initial startup, I had a mini SATA detection error. Not a good first impression, but anyways, that issue was supposedly resolved after the customer support rep directed me to insta
-
Apple Mail signature being added rather than being replaced
When creating a message in Apple Mail, it has suddenly started adding an alternate signature below the default signature, rather than replacing it. I have to manually delete the default signature before sending the email. How can this be fixed? I'm r
-
Sending SAP Standard message through EMAIL
Hi All, Is there any way to send the EMAIL to one dedicated person when SAP standard message get POP-UP. I want to use this functionality in TCODE-SNRO object and want to shot email when no. range has reached on specified threshold limit. Regards Jal
-
BETA Drivers on Windows Server 2008
Hi Everyone! Long time reader, first time poster! I'm in a little pickle, I have a Windows 2008 Server that needs some sound for terminal server audio pass through I have a PCI X-Fi Audio Extreme and a PCI Express X-Fi Audio Extreme .. Using any of t