Column Formulae
I have “Budget” figures of the entire year in a column. I have the ‘Actual ‘ figures in another column for which I have data only for three months.
I need to develop a forecast column which should be the Cumulate Values of Actuals of three months and Budget of the rest of the months.
Month Actual Budget Forecast
1 5 10 5
2 5 10 10
3 5 10 15
4 10 25
5 10 35
6 10 45
7 10 55
8 10 65
9 10 75
10 10 85
11 10 95
12 10 105
I tried using column formula CASE (WHEN) but have only been able to get data only upto the months of actual to a new column.
CASE (D_TIME.FN_MONTH_ID) WHEN D_TIME.FN_MONTH_ID THEN F_BLOCKWISE_CROP.TOTAL_TONNAGE ELSE F_BLOCKWISE_CROP_BGT.TOTAL_TONNAGE END
Can I use “Greater Than”/ “Less than values” in column formulae? I tried but have not worked so far.
Hi,
Yes, you can apply arbitrary functions in your formula using EVALUATE.
Let us suppose You use Oracle Database as a data source.
You want to compare two columns which is the greatest or least;
Please consider the following Oracle BI Server SQL statement:
SELECT EMPLOYEES.FIRST_NAME saw_0, EMPLOYEES.LAST_NAME saw_1, EMPLOYEES.HIRE_DATE saw_2, MONTH(EMPLOYEES.HIRE_DATE) saw_3, EVALUATE('LEAST(%1,%2)',EMPLOYEES.FIRST_NAME,EMPLOYEES.LAST_NAME) saw_4, EMPLOYEES.SALARY saw_5 FROM HR ORDER BY saw_5 DESC
Of course you can use GREATEST and your PL/SQL function as well
(for example) EVALUATE('TAX(%1)',EMPLOYEES.SALARY)
Best regards
Laszlo
Similar Messages
-
Hi All,
There are 3 columns (Formulas),
Formulae 1: KF1KF2KF3
Formulae 2: NDIV0 ( 'KF 4' %A 'formulae 1' ) this comes in terms of %
Formulae 3: NDIV0 ( NOERR ( 'Formulae 2 (%)' * 'Formulae 1 ($)' ) ) / 100
in the 3rd column (Formulae 3) the formulae is as,
3rd column = 2nd column % of 1 column.
Here the values are coming fine when there is +ve value,
but when there is a -ve values in the first column, then in 2nd column also -ve value will come.
But in 3rd column, it shows only +ve value (bcz -ve in first column * - ve value in 2nd column = +ve)
Here it should show - ve values (Always first column and 3rd column signs should be same).
Can any one give me the solution for this.
Thanks in advance,
Raju EHI Daya Sagar,
Thanks for your reply.
But when the demoninator values is -Ve then the result also will be comming in -Ve. Means in second column % values are comming in -Ve.
So finaly in third column comming only +ve values (bcz -ve * -ve = +ve)
Now as per you suggestion, i am using normal division function and putting (%) in the header, but in this column not shows the % symbal in each row. Is there any way to get % symbol in this column insted of putting the % symbol in header.
And if anyone have any idea Please share with us.
Thanks & Regards,
Raju. E
Edited by: Gangaraju Eegu on Feb 13, 2009 10:52 AM -
How to use CHOOSE function in OBIEE
Hi,
Could any one help me out in using the choose function in OBIEE.
How can a column be restricted using the choose function, when different users belonging to different groups logs in.
RakeshIt seems be obvious that you should not publish reports to users and groups who are not allowed to see the columns in the report,
but in practice it can be very challenging to oversee this, especially when you have a lot of groups and a very strict security model....or "unsurmountable" and unchangeable "business requirements" ;-)
Testing definitely is the crucial point. And when you start going nuts with column access rights plus column selectors, dynamic view switching, guided nav., dynamic column formulae etc. etc. the fun really begins. -
Passing Dashboard Prompt values to different dashboard.
Hi All,
I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard.
The scenario is:
I am using a column formulae to navigate to the different dashboard.The column formulae written is:
case when rank ("Table".column ) <=10 then cast(rank ("Table".column) as char(10)) else ''||'+'|| '' END
In this scenario, the dashboard prompts are not get passed to the other dashboard.
In other case when I do not customize the column as stated above and in the Column Property just give a 'Navigate' in the Value Interaction it passes the prompt values to the other dashboard.
Similarly can we do something in the column formulae or using something else to pass on the dashboard Prompt values to the other dashboard.
Please Note that the dashboard Prompts in both the dashboards are exactly same.
Regards,
BhavikBhavik,
Your nearly there, simply extend your URL syntax and pass the colum values with it, see here :
http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
e.g
http://webserver/analytics/saw.dll?Go&Path=%2Fshared%2FSupplier%2FRegionDollars&Action=Navigate&col1=Periods.%22Year%22&val1=%221999%22&op1=eq
Passes colum : Periods.Year
value : 1999
operator : equals (=) -
I have built an Answers report. This report shows Manager Name and weekly sales count like 'Mike Anderson' - '43'
I must make this '43' value clickable and when a user clicks on it, it must go to another answers report that displays this 43 sales detail.
Is there any way to do that?
What way do I have to follow ?
Thanks in advance...
Edited by: user10137960 on 24.Ara.2009 04:141. in the answers request, specify the data format as HTML (Check the overrride Default data format)
2. goto the Column formula and specify the Column formulae for the request as
CASE WHEN TB_REPORT.TEMPL_ID = 0 THEN TB_REPORT.REP_SHORT_NAME ELSE '<a href="www.oracle.com/help.aspx?reportid=' || TB_REPORT.REP_SHORT_NAME || ' target=_blank">' || TB_REPORT.REP_SHORT_NAME || '</a>' END
Customize the above formulae for your requirement and execute your answers page, you can click on the links on this column to view the details in another page..
This might help you...
awating for your results
Regards,
Vishy -
How to provide formulae for the columns in report based on date column
Hi,
How can we provide formulae for the columns in report, where each column is based on another Date Column.
Can anyone suggest on this.
ThanksHi Manu,
I think you a logical column X on which you created another Logical Column Y.
Now you want 'Y' to be filtered based on Date Column.
1. If, my assumption is right - You can do your requirement i.e. Filtering the logical col. 'Y' on Reports.
Else,
2. See - Your Logical column 'Y' While creating log. column 'Y' make sure you use any expression builder to filter across Date column. (i.e. using any case statements or where clause).
Else,
3. Make sure your First Logical column comes from Table by default (i.e. Create the same col. in d/b so it would be your Physic col. )
Thank you.
Edited by: GRK on Jan 28, 2013 7:48 AM -
Repeat Column Value derived from formulae
I need to repeat a value derived for a particular column &row combination to all rows in the table. however when I put the 'case' function it does not repeat the values as I expect. The value is only shown in the 1at row
The formulae used is as follows
CASE WHEN D_MILLS.MILL_NO =1 THEN (F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED ) ELSE (FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)) ) END
Note : Mill No is the Dimension Field that I user for the report. and I require the value of derived for mill No =1 to be repeated to all other mills (Mill No =2,3 etc)
Edited by: Shaz01 on Aug 7, 2010 1:45 AMHi,
Use the formula like this,
Max(CASE WHEN D_MILLS.MILL_NO =1 THEN (F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED ) ELSE (FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)) ) END)
Also for all the values you need to show the value of Mill no 1, so no need for case statement.
MAX(FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)))
Thanks,
Vino -
Need help to develop report with column chart
Hi
I am new to SAP BO world.Could anyone please help me to design report with column chart.Please guide me how to develop report for the following requirement.I am not aware of variance columns and variance labels.Please provide some guidance or some tutorials(for column Chart) so that I can complete the task. Please reply me as soon as possible.Waiting for reply.Thanks in advance.
Type: Column Chart
u2022 Rows: Banking Asset Margin (%)
u2022 Start / End Columns: PY YTD Act(Prior year year to date); CY YTD Act(Current year Year to date)
u2022 Variance Columns: # Var (CY-PY Act) for GOLM; Volume; Rate; Non Banking NII; Banking Volatility in NII; Banking Volatility in OOI; Fees/One Offs/Other; Volatile Items; Sophie
u2022 Sub-total columns: PY YTD Underlying; CY YTD Underlying.
u2022 Variance Labels: % Var (CY-PY Act) for Total Income and Underlying Income
u2022 Sub-Total Labels: # Var (CY-PY Act) for Net Insurance Income; Banking Volatility; Other Operating Income
Additional information
u2022 Variance columns (bar) colours: Red = Adverse to Prior Year; Green = Favourable to Prior Year
u2022 Columns to show values. Adverse values to be shown in red text in brackets. Favourable results in black text.
u2022 All values in Black, but adverse to be shown below the bar.Hi,
This type of question is almost impossible to answer over a forum .
You need to work with your business to understand what these requirements mean in terms of data modelling and relationships between object entities.
- Some of these metrics should be delegated to source, and calculated in the update routines to your datatargets (aka Cubes/Tables)
- Others could be resolved in the semantic layer (Universe)
- Other will be calculated in the presentation layer as local formulae or variables.
whilst BusinessObjects is a fairly intuitive tool, it may be unreasonble to expect a new learner to deliver an advanced report with conditional formatting.
Regards,
H -
Formula for multiple columns in a new table
Hi,
I've been using Numbers '08 for a while, but I've only been using rudimentary formulae such as "SUMIF" and "WEEKDAY." Recently I've been trying to put Numbers to better use. One major problem I've run into while writing a formula is this (I'm sure the question has been asked, yet I've searched the forums to no avail):
I want to have two tables -- the first table is where I want to input my information; the second table I would like to be able to manipulate that information. For instance, in the first table I have (apologies, but I'm not sure how to incorporate a screenshot into my text):
Table 1
Date Color Location Minutes
8/5 Blue Rome 60
8/7 Green Paris 90
8/7 Green Rome 45
8/8 Blue Paris 120
8/8 Blue Paris 30
8/9 Blue Rome 90
8/9 Green Paris 60
Now, in Table 2, easily enough I am able to write a formula (using "SUMIF") for the number of minutes I've spent in Rome, but how do I write a formula to show how much time I've spent in Paris while Green? Table 2 right now is looking something like:
Table 2
........Time Blue Green
Paris 300 error error
Rome 195 error error
Is this a job for "VLOOKUP"? Do I need to make auxiliary columns? I have many such computations I would like to be able to perform in multiple tables from one source (Table 1). Any guidance would be much appreciated.With Numbers '09 you would use SUMIFS() but with Numbers '08 you must use auxikiary columns.
In Tableau 1
in column E the used formula is:
=IF(AND($C=Tableau 2 :: $A$2,$B=Tableau 2 :: $C$1),$D,"")
in column F it is:
=IF(AND($C=Tableau 2 :: $A$3,$B=Tableau 2 :: $C$1),$D,"")
in column G it is:
=IF(AND($C=Tableau 2 :: $A$2,$B=Tableau 2 :: $D$1),$D,"")
in column H it is:
=IF(AND($C=Tableau 2 :: $A$3,$B=Tableau 2 :: $D$1),$D,"")
In Tableau 2
in B2 and B3 the formula is:
=SUMIF(Tableau 1 :: C,"="&$A,Tableau 1 :: D)
in C2 it is: =SUM(Tableau 1 :: E)
in D2 it is: =SUM(Tableau 1 :: F)
in C3 it is: =SUM(Tableau 1 :: G)
in D3 it is: =SUM(Tableau 1 :: H)
Yvan KOENIG (VALLAURIS, France) mardi 1 septembre 2009 16:52:31 -
Hello All,
Can anyone suggest me how can i create a cross tab report that has multiple fields in columns and multiple fields in summary?
I have 10 formulae for the columns and 10 for the summary. But if I add more than one in columns or it gives some extended report which i want to avaoid. How can i get a normal cross tab report.
Thanks
RobinnPlease re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
Report Writer - '-ve' for a particular column - VERY URGENT
Hi
I have developed a report painter report which has 4 columns. Out of 4 columns, I have 2 columns which are based on formulae. Irrespective of the result, I need to display these 2 column values either "+ve" or "-ve".
Can anybody pls help me out in this regards.
IT'S VERY URGENT.Murali,
Thanks for your response. I think i could not explain my problem clearly. Let me explain now.
Here is the sample output of my report painter report.
PLAN (P) ACTUAL (A) VARIANCE (C = A - B) VARIACE % ( C/A *100 )
254 245 9 3.67
245 254 -9 -3.54
-245 254 -499 -196.45
245 -254 499 -196.45
If you see the output for 3rd and 4th columns, some values are +ve and some values are -ve. But i want output as follows:
PLAN (P) ACTUAL (A) VARIANCE (C = A - B) VARIACE % ( C/A *100 )
254 245 9 3.67
245 254 9 3.54
-245 254 499 196.45
245 -254 499 196.45
Pls help me out. -
How to use dynamic column fields in formulas
Hi,
we changed from CR 8.5 to CR XI R2.
Many of our reports use dynamic queries with different count of columns.
These reports are designed for the maximum count of columns.
This works fine with CR 8.5 but with CR XI R2 it seems to be that if one of these columns is missing i get an error in all formulas using this missing columns.
How can i use or check this columns in formulas?
regards
MichaelCould it be because of null values? Try File -> Report Options and then check the box next to convert null values to default values and see it that helps or you can go into the formulae and choose Default Values for Nulls. Either of these options should plug a zero if the values happen to be nulls.
-
Calculated Column-Make a copy of another column
I need to create a column whose value would be calculated based on another 2 columns. I would appreciate help in the syntax
MyCol=Col1TextCol2Text
When I try to use the followiing formulae, I get error:
The formula contains reference(s) to field(s).
I am using the formulae: =[Column1]&[Column2]
Thanks
FaridaIf you want to put the two together, you can do:
=CONCATENATE([Column1],[Column2])
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How to display the rdf file column in XML Publisher
Hi
I have used the formula bar and returned the value to diaplay in xml output .so that i can use in template.But i could not find the value which i returned in rdf.
Can anybody suggest me do i need to change/modify in any other places to find my column/value in xml output.
Thanksno need to do any specific changes.
if you have a formulae column in RDF it will definitely show up in your xml output,
see if you are doing any silly mistake like,
RDF not saved peoperly,
.RDF is not replaced with the updated version or something like that -
Creating a Profit Margin Percentage column in Numbers '09
I searched around the forums and could not find anything on this topic.
Basically I am making a spreadsheet for the company I work for and want a column that has our profit margin percentage for a couple of items we sell.
Problem is, I only have basic knowledge of spreadsheet formulas
Can anyone help? Thanks!plan9
Hi welcome to the forum.
The spreadsheets in Pages follow the formating and formulae in Numbers.
Download the Formulaand_FunctionsUserGuide.pdf from under the Help menu in Numbers.
Peter
Maybe you are looking for
-
rigght after i got the ios 7 update i noticed everything from my icloud was on my phone i dont want all that stuff on here so i plugged it into my computer and its saying that i need the latest version of itunes i have downloaded it twice and i am st
-
Package Compilatin takes long time
Hi Guys, When i tried to compile package on dev server its takes long time its suppose to be compile within sec and it used but suddenlly its taking time. please guide me how can i start to resolve this issue Thanks
-
Suddenly when opening or trying to import photos I'm getting a new (actually my first) error message: An error occurred while trying to save your photo library. Some recent changes may be lost. Make sure your hard disk has enough space and that iPhot
-
Patch for ESSBASE 11.1.2.2
Hi All, I had Applied patch for 1. Shared Servcies 11.1.2.2 (14020629) .300patch 2.EPM Workspace 11.1.2.2 (13936087).300patch 3.Planning 11.1.2.2 (13905088) .300patch 4.FDM & FOR ERPI 11.1.2.2 (14173894).300patch i want to apply patch fo
-
Repost: Problem in downloading a file from Portal Center
Hi, I try to access the file http://toolsweb.us.oracle.com/pls/tools/docs/FOLDER/ROOTFOLDER/EIT/EITDOC/DOCDELIVS/DOC_DRAFTS/WEBDBDRAFTS/GS_SITE.ZIP but this server is inaccessible. I can't even ping it. could you please arrange it quickly ? Thanks a