HFM rules - how to calculate an account for rolling 12 months
Does anyone know how to write rules for calcluate one account for a rolling 12 months?For example: If the month is March 09 and I want the values for account 123 added during the months of March 2008 to March 2009.
Then in April I would April 2008 to April 2009 and so on.
Is there some sort of working capital for the rules of the service?
This should help:
Function Past11 (Acct)
Past11 = "(" & Acct & ".)" W #Periodic ".
For PastMonth = 1 to 11
Past11 = Past11 & '+' & Acct & ".." P #CUR -"& PastMonth &".. " W #Periodic ".
Next ' PastMonth
Past11 = Past11 & ")" "
End Function
Tags: Business Intelligence
Similar Questions
-
How to calculate the number of days/weeks/months between 2 dates?
Hello
I would like to know how to calculate the number of days/weeks/months between 2 dates in OBIEE 11 g, for example, I have 26/05/2013 and 19/05/2013, then I want to get 7 days.
Thank you!
JamieHi Jamie,
Through this links...
http://www.bravesoft.com/blog/?p=682
http://twobiee.blogspot.in/2012/01/working-with-date-differences.htmlMark as correct it allows u...
Thank you... -
How to cancel the Association for Creative Cloud (monthly)
How to cancel the Association for Creative Cloud (monthly)
Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html -
How to calculate the first day of the month following in BI Publisher
I need to be able to calculate the first day of the month of a date field in a BI Publisher model. The field name is COL_CLM_180 and contains a date in the format "YYYY-MM-DD". I have found so far any documentation that still gives me an idea of what to do.
Any help or advice would be appreciated
Hi - thank you very much for your help. Your last answer got me going in the right direction and I indeed was dense. I don't know why I don't think to the calculation in the original query. I put the statement: TRUNC (ADD_MONTHS(A.COL_CLM_180,1), 'MM') in a column in the query of conduct and it has worked flawlessly. Thank you - thank you - thank you.
-
How to calculate the width for assets
Hello
I want to have a large image that covers the entire width of a device.
How can I calculate which corresponds to the width I want?
I'll probably have 3 versions, each for one of the 3 DPI settings.
Thank you.
A desktop application is very different from a mobile application. On the desktop, you usually have a threshold of width/height that you know that each monitor will be at least in bulk, for example 800 x 600. Some people design applications for just this minimum resolution and some people create applications that can grow bigger than, but in the end you basically the exact same application on each monitor.
The story is very different on mobile devices. The range of screen size and screen DPIS is much more important and should be taken into account. You have cell phones that are often something like 480 x 800 in portrait orientation, but then also 800 x 480 in landscape orientation. If you really can't design an app that can be only 480 x 480 because it's just not lots of space and all devices will have a ton of valuable space that is not used.
Then put in the form of tablets, which usually have a screen size much more important for the provision of application you have a mobile phone often is not make sense on a tablet. Many applications have a completely different user interface on tablet vs on the phone.
So in the mobile applications you will want to use relative sizing and positioning as much as possible (width/height=100%, top, left, right, down, VerticalLayout/HorizontalLayout, etc.), you'll want to learn more about the options you have available in the Flex SDK kit to treat the different PPP (dpi scaling and CSS media questions), and you also need to think if your application needs to act even on shelves as on mobile phones or if the interface User should be completely different.
-
How to create an account for windows live offline?
Hi anyone knows how I can do pls?
HelloEssentially, when you start the game on your PC, it will ask you to connect or create a Windows Live account, so you can communicate with your friends, save games, etc. for this game. However, some do not have access to the internet or do not have an online account, so the game lets create you an offline account, then you can play the game, but you will not have access to the features that Windows Live offers.Thanks and greetings
Umesh P - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
[If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.] -
How to configure user accounts for different users of the PC?
I have various users for laptop. Need to have the 3 people you connect with password. How do you define this on a laptop?
See this link on how to create and manage user accounts: http://windows.microsoft.com/en-US/windows-vista/Create-a-user-account. Expand the second link (my computer is on a workgroup) for your likely information. Don't worry if have to jump the "User and family security accounts" link in step 1.
Ask us if you need additional assistance.
Rifdhan
If this is your answer, click on "Mark as answer" below. If it's useful, click on "Mark as useful" on the left.
-
How to get an account for a fields in fields
Hai All
I created a table, the table contains three fields, date, time code, and now I need to count how many times the time comes for a day
for example, in this chart is calculated for the daily attendance
Code Date time
02/01/10 001, 0815
02/01/10 001, 1115
02/01/10 001, 1145
02/01/10 001, 1645
02/01/10 002, 0815
02/01/10 002, 1200
02/01/10 002, 1230
02/01/10 002, 1715
02/01/10 003, 0815
02/01/10 003, 1655
Here is the example of table here so now I need to count than no time count is there for a day
for example the code 001 4 and 002 has 4 and a 003, 2
I tried
Select count (*) CT, temp_attendance barcode
Group of barcodes
order by bar code
Like this and works fine with only the barcode and while field, we give other fields to group by function and it calculate for each time.
while I using this slider, I need all the displayed variable and I need the number of code has
no time.
Thanks and greetings
Srikkanth.MCould you try
Select time, count (1)
Of
(select to_number (ltrim (rtrim (time))) time, code, date)
of temp_attendance)
Time Group
time controlWhat are the types of data in these fields... ?
Rgds
Vipin -
How to calculate the deduction for Initial depreciation for assets?
Hello
I am trying to set up books FA tax to calculate the initial allowance (depreciation) active @ 10% regardless of the date of commissioning.
For example. Year Jan - Dec. -rated Convention's same month. If an asset is added in Dec-2010, it should still depreciate 10% instead of 0.8333333333333333
Pointers would be appreciated.
Thank youFound a way to do it.
-
I do not understand how is calculate 21 Mpx for camera
Hello
Features for Xperia Z3, there are:
camera 20.7 Megapixel camera with autofocus 2.2 MP front camera ISO 12800
When I take a picture of the front, the image is 1920 * 1080, = 2 073 600 pixels, which does not exactly match 2.2 MP.
But with a photo taken at the back, we get 3840 * 2160 = 8 294 400 pixels. Is far from the 20.7 million pixels.Is there a mistake in the definitions of the characteristics?
To change the quality manual auto, type right on the yellow circle with a camera and an i inside, then select Manual (M).
-
How to calculate an average for each quarter in a year
Hello world
I have a table that stores all the unit tests for the data. I'm figuring avg unit tests that have been recorded by quarter in one year
I tried with avg and the meter, but I'm sure that the results returned are not perfect
Help me in this scenario.
Thank you
Sriksuser10699584 wrote:
so if there are 10 unit tests then the avg is 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10/10
It is a weird way to definig average. Anyway, why:
2005-2 Q 5 2.5
According to your package:
(1 + 2 + 3 + 4 + 5) / 5 = 3
not 2.5. I'll assume that it's a typo. Now based on Mathematics:
1 + 2 + 3 +... + n = (1 + n) * n / 2
The foregoing your 'average' would be:
(Count + 1 / 2)
Also, I suspect tc_vts column data type is DATE, if so:
select to_char(tc_vts,'YYYY-Q"Q"') "year-Quarter", count(*) "Total cases", (1 + count(*)) / 2 "Average of total cases" from Testcycl group by to_char(tc_vts,'YYYY-Q"Q"') order by "year-Quarter" /
SY.
-
How to calculate the percentage for two columns?
Hello friendsUse the DECODE or CASE structure
-
How to copy the data for the current month for future months based on the current month
Hello
If the current month is Jan they copy data Jan rest months this year there. If the current month's data copy Feb Mar Feb, Apr, dec... and so on... The following script can achieve this goal, but it increases the number of lines of code... Please y at - it another way that we could achieve this functionality.
Difficulty (year1, entity1)
"account1" (if (& Currentmonth == "Jan"))
"account1"-> "Feb" = "account1"->"Jan";
"account1"-> "Mar" = "account1"->"Jan";
------
---
"account1"-> "Dec" = "account1"->"Jan";
ElseIf (& ifcurrentmonth == 'Feb')
"account1"-> "Mar" = "account1"->"Feb";
--
"account1"-> "Dec" = "account1"->"Feb";
endif ;);
endfix;
Thank you
Praveen
Hi Praveen,
You can write a script as shown below
Fix(Year,Entity,&Currentmonth:DEC)
Account1 = account1-> & Currentmonth;
endfix
This will make.
Concerning
Anubhav
-
Return of the records for the current month, previous and next
Hello.
Robert Charlton contributed to my last question on this topic and thank him once more for this.
When you filter the results of the report by using the following database returns records for the current week:
WHERE 'SS_LEAVE '. "" LEAVE_TYPE "="SS_LEAVE_TYPE. " "" IDENTITY CARD ".
AND)
InStr (superior ("EMPLOYEE"), upper (nvl (: P2001_SEARCH, 'EMPLOYEE'))) > 0 or
InStr (upper ("SUPERVISOR"), upper (nvl (: P2001_SEARCH, 'SUPERVISOR'))) > 0
)
AND TRUNC (end_date) < NEXT_DAY (TRUNC (CURRENT_TIMESTAMP) - 1, 'Sam') + 1
AND TRUNC (end_date) > NEXT_DAY (TRUNC (CURRENT_TIMESTAMP) - 1, "Sat")-7
My question is this time is:
How to make a filter for the current month, the 'previous month', and 'next month '?
Kind regards
Steve WelchSteve,
Current month:
and trunc(end_date) >= trunc(current_timestamp,'MM') and trunc(end_date) < add_months(trunc(current_timestamp,'MM'),1)
Previous month:
and trunc(end_date) >= add_months(trunc(current_timestamp,'MM'),-1) and trunc(end_date) < trunc(current_timestamp,'MM')
Next month:
and trunc(end_date) >= add_months(trunc(current_timestamp,'MM'),1) and trunc(end_date) < add_months(trunc(current_timestamp,'MM'),2)
-David
-
How to calculate the size of HFM Cube in SQL Server 2005
Hello
How to calculate the size of the HFM Cube in SQL Server2005
Under application used to Oracle. So what's application to SQL Server?
***********************************************************************************************************
SQL > select sum(bytes/1024/1024) from dba_segments where nom_segment like 'FINANCIAL_ %' and owner = 'HFM;
SUM(BYTES/1024/1024)
SQL > select sum(bytes/1024/1024) from dba_segments where nom_segment like FINANCIAL% HSV' and owner = 'HFM;
SUM(BYTES/1024/1024)
**********************************************************************************************************
Concerning
SmileeWhat is your goal? The subcube in HFM is a concept that applies to application layer - not so much to the database layer. The size of the subcube is the unique number of sheets (data values for January - December inclusive, for example) for the given entity, a triplet of currency or node Parent.Child. Should be considered for accounts of parent and customs that do not exist in the database, but are calculated in the RAM of the application layer.
So if your goal is to find the largest subcubes, you could do this by querying the database and by counting the number of records per entity value (tables DCE) or combination of entity parent.child (tables of the DCN). I am not versed in SQL, but I think the script below you would just the size of the pattern and not the sizes of subcube.
See Accelatis.com for a third party software product that can do it for you. The function is called the subcube Analyzer and was written by the same team that wrote HFM, then they should know how :-)
-chris
Maybe you are looking for
-
_ "Boot Performance Monitoring" and "stop Performance Monitoring. __
I just looked to the top of the page "Event Viewer" and discovered 1 791 itemsmarked as 'endangered', 'Critical', 'Error', etc, etc, etc.!They seem to be linked to "Boot Performance Monitoring" and "Stop Performance Monitoring", etc., etc., etc..!How
-
I have Windows 7 and do not want this Windows 10. I noticed that the weather channel for the office application is only available for Windows 10. Any suggestions on how I can get this working?
-
If the on hp pavilion dv6 hdmi port is port of entry or exit?
If the on hp pavilion dv6 hdmi port is port of entry or exit?
-
Two different databases in a single RPD
Hi allis it possible to have the oracle and Teradata connections pools in a unique RPD. If so is there any impact. Please suggest
-
Call of findXXView, the default method of service interface programmatically
Hello12.1.3 JdevMAF: 2.0.1.2.0Call the find method of the Web service programmatically. I need to pass the findCriteria and findControl.Do it in the way below: but am getting an exception in the try block, and the method is not called.two questions/p