Aggregate at 1 level above most granular level
OBIEE 11g
I have a table containing the following fields.
Category
Product
Sales
The Sales are aggregated at the product level. In OBIEE I would like to Aggregate the Sales at the Category level. How would I achieve this rollup to Category level.
Create a dimension hierarchy with Category and Product levels.
Set the logical level of the sales fact to category.
Similar Messages
-
How to group data at granularity level hours and every 10 minutes?
I have sales table imported from SQL server. The date columns are are captured at granularity level such as 30-12-2013 16:50:16.
what is best way create master date table, and create relationship between the sales table and the master date table?
I am new in Power Pivot, and any complete detailed steps and links will be appreciated
Note: just clarify the requirements. The business wants to see how much sales a consultant sells in every 10, 30 minutes during normal business hour.
Hope this help
jlSplit your field:
1) A date portion related to your date dimension at the day grain
2) A time portion related to your time dimension at a 10 minute grain.
In TSQL:
SELECT
,[Date] = CAST( <datetimefield> AS DATE) -- date with no time
,[Time] = CAST( '18991230 '
+ RIGHT('0' + DATENAME(Hour, <datetimefield>), 2) + ':'
+ RIGHT( '0' + CAST( (DATEPART(MINUTE, <datetimefield>) / 10) * 10 AS NVARCHAR(2)), 2) + ':'
+ '00' AS DATETIME)
Write this in your query to populate the fact table. This will give you a field holding just the date, and one holding the time at a 10 minute granularity.
A date table is trivial to produce in SQL or in Excel.
Here's a link for doing a very basic one in SQL Server.
A time table is trivial as well:
WITH TimeCTE ([Time]) AS
(SELECT CAST('18991230 00:00:00' AS DATETIME)
UNION ALL
SELECT DATEADD(MINUTE, 10, [Time])
FROM TimeCTE
WHERE [Time] < CAST('18991230 23:50:00' AS DATETIME)
SELECT * FROM TimeCTE OPTION(MAXRECURSION 0)
This gives you the beginnings of a dimension with time intervals every 10 minutes.
You can extend this table with TSQL functions or DAX calculated columns, whichever you find more convenient.
Then, you can join your <fact table>[Date] to <date dimension>[Date], and your <fact table>[Time] to <time dimension>[Time], and do all of your filtering on those tables.
Note: I have used a full datetime field for the time dimension above. This is because Power Pivot/Tabular only know datetime as a data type. If you want to add time to a date, the time portion must be recorded on 1899-12-30 to achieve the desired result.
When importing a TIME data type into the Tabular model, the field is assigned the date of processing, which is absurdly annoying. -
Hi frnds , in a process , i have been assigned an issue ,,,,below is the requirement given by my client
We need to configure the Budget Table in the RPD Side.
The granularity of this table is at : Customer Site Use Id -- Sales Rep Id -- Ent Period Id
Include the Budget amount, Budget YTD, Budget QTD in the Sales Order Lines/Invoice Lines
The Aggregation content should be at the Period Level.
Please note the difference, the Sales Order lines and invoice lines is at Day level, where as the Budget is at the Period Level
We will have to set the aggregation content accordingly.
i have a budget table in database and i need to import it to rpd , i need to give joins and copy the BUDGET_Amount column and create YTD , QTD for it and drop it in Sales Order Lines and Invoice Lines fact table .
This is what i understand .
Can some one out there please explain what is the granular level , and also about the above issue....
Thank youHi,
I dragged the budget_amount measure into sales order lines/invoice lines logical fact tables . I have set the budget LTS at Quarter Level. when i check at front end , i am unable to see any data in budget_amount column.
Kindly help me in fixing this ,
Aggregation content should be set at period level
what does it mean , period level ,wat i understand is Year or Quarter .Is it true?
Please help me in this
Thank You -
Display drilling path at granular level of report title in BAM 11g
Is it possible to show drilling path at report title location at the granular level of drill-down?consider that i have a report zone wise distribution of total price in a barchart.Once i click on say east zone it will show office wise distribution once i click on say canada-office bar it will show the details of the canada office.in the canada office details lavel i want to disply total driling path in the report title location at run time.so i can have at the report title location of the granular level eastzone-->canada office-->like this.if you have any solution on that please help me.thanks in advanced.
Edited by: user8925573 on 9 Feb, 2010 9:14 AMI am sorry this is not available right now.
Regards,
Vishal
BAM Development -
Referancing objects in the level above the movie clip
i want to referance objects in the level above the movie clip that i have the AS in. what i mean is that i have a movie clip on the stage, and that movie clip has some actionscript in it, and that AS needs to refer to an object on the main stage, how would i do that? i have tried parent and stage 1, but neither seem to work
ok, so let's say that i have a MC on the stage, then inside that MC, there's a frame, with some code attached to it. i want to referance another MC on the main stage, can u give me some example code on how to do that please, thanks
-
iMac 7.1 (2.47 Ghz Intel Core Duo w/2GB memory) operating OSX v 10.9.5. At the core level I find two Library folders, one within the System Folder and one by itself with the other core level folders - mostly same content. Is this right or do I have a duplication problem?
The system is slow. -
Icon-Start Chart one level above Nakisa OrgChart 4.1 Live
Hello
In relation to the problem specified by Sakthi Seithur: "Icon-Start Chart one level above Nakisa OrgChart 3.0SP3 Live" we have a similar problem but this time it's on version 4.1.
We have upgraded from version 3.0 SP3 to 4.1. Previously we made use of the "AllowUpLevelForRootTypeUser" trick in version 3.0 sp3 to get the icon to appear. However, now in version 4.1 the problem is back and the "AllowUpLevelForRootTypeUser" trick doesn't seem to have any effect.
Does anyone have insight into this problem on version 4.1?Richard,
I had this same issue on 4.0. It worked then didn't after a build update (to #437 on 4.0). My client raised an OSS and (finally!) today it got an update ... they issued a new build ("0901052300" i.e. #532 on 4.0 version) to resolve the issue.
I wonder/suspect that the issue might be also in the 4.1 release. I would raise an OSS to ask whether this is a known issue in 4.1 and also specify your full build number (long one on the AdminConsole screen once you've logged in and loaded a build). Hopefully they have a newer build with it fixed or can test on your build version to replicate the issue.
Regards,
Stephen -
HP Pav dv7t-6100 CTO w/Beats Audio sound system reverberates at levels above 50%.
HP Pavilion dv7t-6100 CTO Entertainment Notebook PC with Beats Audio sound system havingf volume distortion issues. At levels above 50% everything has ab reverb effect that gets worse the louder the volume. Using Win 7 Hm Prem.
This question was solved.
View Solution.Issue resolved itself.
-
SRM 7.0 Process Controlled Workflow-Level Type in Process level config
Hello Experts,
In SRM 7.0 for Process controlled workflow,for Level Type in Process Level configuration we have 3 different options
1) Approval with Completion
2) Approval
3) Automatic(System User)
Can you plz explain what is the difference between these 3 diffrent potion for Level Type in Process Level configuration.
Your help will be highly appreciated,
Thanks & Regards,
RKS1. Approval with completion : This allows approvers to make any changes to document while approving. Generally you define this type for buyer in SC approval.
2. Approval : above minus change
3. Automatic (system approval) : If no process level is determined, you need to set up a process level with automatic approval to approve the document by system. -
Client level, chart of accounts level, company code level
Generally what are the areas under client level, chart of accounts level, company code level.
For Ex. document types are client level, number range company code level
like the above does we have any list which is falling in the above levels.1. Generally during customising when co code data is not asked , then settings are client level.
Country, Currency, Document types, all variants of diff types, chart of accounts, etc
2. Every master is having data - General data level (client level) for use by all co codes, Co code data level(basically for accounting purposes) and so on.
These are applicable to GL, Vendor, Customer, Asset, Matlerials, etc
For particular application we have more information at another object level also- Vendor- Purchasing, Customer-Sales, materials-Plant- controlling, etc
3. Chart of accounts level assignments are done for all automatic posting definitions-which is applicable to all company codes which are using same chart of accounts.
4. In material setting- valuation can be grouping level, co code level or plant level as these are related to costing and product costing.
Hope the above will give some idea.
In the above nothing is written about CO as you have not asked- -
Availability check box at schedule line level and requirement class level
Hi All
What is the significance of availability check field at schedule line level and requirement type level.
If I remove the check box at schedule line level, then there won't be any availability check carried out in the sales order, even though in requirement class it is checked. Is it for doing availability once the requirement is passed to MRP...
In make to stock scenario, no availability check is active at schedule line level.
scenario 1. stock is 0 in plant, when i place an order for 10 quantity, does system give any confirmed quantity on so and so date...or the confirmed quantity will be zero or as there is no availability check carried out, it confirms 10 quantity on customer requested delivery date and the time of creation of delivery, it gives an error message stating zero quantity is available. which one is correct in all the above.
In make to order scenario, no availability check is active at schedule line level.
order was created for 10 qty, as there is no availability check active, does the system give some date based on the lead times maintained in the material master or not?
Regards
SreeHi sreekar
The significance of availability check at schedule line level is to determine weather availability check and TOR should be carried out for sales orders or not.
If you remove check box at schedule line level , availability check and TOR wont be carried out at sales order level.
Coming to the scenario you said , make to stock , i think the availability check you are using is 01 make it 02. which is planned requirements. and stratergy group as 10. in MRP3 view in MMR. .
as the availability check u have put 01 & stratergy group as 10 availability check doesnt carry
coming to the scenario 2 , if the stock is 0 in plant and if you create a sales order, then the confirmed quantity should be 0 and that particular order will go to backorder processing.
sometimes it confirms the ordered quantity as the confirmed qunatity, and it gives a confiremed delivery date on which the stock is confirmed , but that date is a tentative date.
all these unconfirmed orders will go to backorders. once the qunatity is confirmed automatically , delivery date also will be done
Coming to scenario 3 , when you create MTO order there will be availability check checked at the schedule line level. can you tell wat is the schedule line you are getting is it CP or ND?
for schedule lines , ND - no availability check will be there , PD - availability check will be there
Note: plz check 1st the availability check you have entered in MMR , if it is 01 make it as 02. and then run these cycles.
Reward points if useful and if Any queries let me know
Regards
Srinath
Edited by: sri nath on Mar 21, 2008 7:53 PM -
Function modules to get wbs level budgets and activity level cost
hai gurus can any one tell me the function modules or any other bapis to get the wbs level budgets and activity level costs
thanx in advance
afzalok
-
How to do budgeting at activity level and WBS element level in project syst
Dear GURU's,
Can any one please suggest me how to do budgeting at activity level and WBS element level in project systems, friends please I required set by step process.
I need how to do this configuration to map this scenario.
Regards,
BhanuHi Bhanu,
Use this link :
http://help.sap.com/saphelp_45b/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
after page opens , click on BUDGET MANAGEMENT , There you will find each and every step you want .
Thanks ,
Dhruv Kumar Malhotra -
Valuation at plant level and company code level
Hi,
Can someone explain me the difference between the valuation at plant level and company code level with a real world example?
Regards,
Malsha KalubowilaHi,
Inventory can be valuated at two levels either at company code level or at plant level. If you select valuation at company code level, all materials across all the plants will have same material price since valuation is at only company code level.
Say for example Company code 1000 is buying a material which unit price is Rs. 10 from a vendor who supplies to two different plant A & B of company code 1000. Assume Plant A is situated near vendor premises itself (so freight cost is Re 1 extra) whereas plant B is situated at far away from vendor place (so freight cost rs 2 extra) and both cases freight cost is borne by the company and not by vendor.
Assuming you have selected valuation at plant level, now in plant A same material will be valauted at Rs. 11 (10 +1) whereas at plant B it is valuated at Rs. 12 (10+2).
Whereas if you have selected valuation at company code level, price will not be valuated at plant level rather at company code level which will get updated at moving average price in this case.
So it is always best practice to select valuation at plant level rather than at company code level.
Reg
Karthikeyan G -
Material Plant Level or Planning Plant Level
Hi Experts,
May i know what ever the material lying in the warehouse whether it is showing the stock at Maitnenance Plant level or Planning Plant level.
Also is it possible to keep the inventry at Maintnenace Plant level.
Please provide your valuable information.
ARHi Experts,
You mean to say if there is no planning Plant we cant make the inventory ? Please correct me if i am wrong.
Also i want to know is it possible to maintain the stock at Maintenance Plant level.Because we have four Maintenace Plant 8000,4000,1000 & 6000 and all four are assigned under one Planning Plant 2000. Here i want to know is it posssible to maintain the stock under all four Maintenance Plant if yes then what i have to do for the same.
AR
Maybe you are looking for
-
How to get a value given to a button in HTML using a href tag
Hi, In my application I have loaded html content in WebView. In the HTML file i have used a Button to which i have given some value in href tag as <a href="ButtonClick//testing/mysample"> <input type="button" value="Click me" /> </a> When i click
-
Flush pending AWT events programmatically
Hello, everybody. Is there a way to flush pending AWT events programmatically? I would like to be able to use it in a code like this: if (comp.requestFocusInWindow()) // flush pending AWT events... KeyboardFocusManager focusManager = Keyboard
-
After updating with the latest software, when trying to edit a photo, it disappears (black screen) or screen is full of lines. If I blindly crop or edit the photo, when I exit edit mode, those changes have been made, but obviously this is unacceptabl
-
Can I perform all my layout in InDesign on a PC and then move to a MAC version for publishing?
I have access to a MAC to do it, can I complete everything on a PC first? any pitfalls? Mike
-
Premiere Pro rendering problems
I'm running CS4 Premiere Pro on an I-Mac using Snow Leopard, Intel 2.4 ghz. I'm editing a seminar video that's about 75min long. To start, I did some light color correcting and sharpened the picture. Nothing much. When I pressed "Render effects i