How to create logical column...
Hi experts,
i am new in using obiee... i would like to ask how to create a logical column based on a select statement. i have a column report_date and the logical column will be a distinct year-month of that column.. please refer below..
REPORT_DATE
7/1/2006
7/1/2006
8/23/2007
8/26/2007
6/3/2008
6/9/2008
this is the format i want to have in my logical column..
2006-7
2007-8
2008-6
thanks in advance... :)
hi,
thank you for your reply, i just created a view just to have a column with the data that i want then used the column in the business layer.. :D
Similar Messages
-
How to create logical columns for current period and prior period
Hello all.
Is there any way in obiee to create a new logica column in BMM layer that says "CURRENT PERIOD" AND "PRIOR PERIOD" OR ONE SINGLE COLUMN THAT SAYS "PERIOD".
In those columns what I need is if it a current period column it shoould have 03/01/2012-03/31/2012 (this month date range)
and in prior period column I shouldhave 02/01/2012 -02/29/2012(which is previous month date range).These columns I will be using in my reports.
Please help me if we can create any such columns with these conditions/requirementsHi,I have already created he dynamic variables.But I am not getting how to use those variables and create the new logical columns in bmm layer.
this is what I am trying
case when VALUEOF("Current Month begin date"."Current Month begin date") ='..' and VALUEOF("Current Month end date"."Current Month end date")
='..' then 'current period' end
I don't really understand what I should write case when VALUEOF("Current Month begin date"."Current Month begin date") ='..'?? -
How To Create Logical column For Lastyear To Till Date
Hi All,
I Have to calculate Lastyear to Till Date for Logical Column.
Ex:I have Time Dime and Fact column and Dimension columns.
jan 2011 to oct 2012.
Please Let me know.
Thanks,
AbhiLooks like you are not reading my messages
Since you are doing on logical columns getting this error.
Try this using physical columns then count from aggregate tab
CASE WHEN "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_SRVREQ_F_Open_Date"."OPEN_DT_WID" > 20110101 THEN "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_SRVREQ_F_Open_Date"."SR_WID" END
The same you can go with your variable
Or else the same can do by duplicating the existing Fact - CRM - Service Request"."# of SRs" and just add above code.
or just use the below you dont use sum since already aggregation is happend for # of SRs
CASE WHEN "Core"."Dim - Date"."Year" = VALUEOf("Warehouse Refresh Date Last Year"."CURRENT_CALENDAR_YEAR_LAST_YEAR") AND "Core"."Dim - Date"."Date" < VALUEOF("Warehouse Refresh Date Last Year"."LAST_REFRESH_DATE_LAST_YEAR") THEN "Core"."Fact - CRM - Service Request"."# of SRs" END
Hope this works, mark as correct -
How to create two columns in a header?
Can anyone tell me how to create two columns in a header please?
Thanks!!Sandra,
I'm suspicious about your motives. It just doesn't seem logical to me to put so much content into a Header that two columns would be required.
You might consider the alternate header-like approach; use a Text Box set to two-column format and Format > Advanced > Move Object to Section Master.
Jerry -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
Hi how to create logical systems.
Hi,
how to create logical systems. Do we need to create logical system name for creating RFC destinations? plz help me out.
thanks
dhanush.Hi,
transaction:
SALE -> Basic Settings -> Logical Systems -> Define Logical System
No, you don't need to create Logical Systems to define RFC destinations.
Regards,
Jakub -
Hi,
How to create logical system.
Please help me with the steps for logical system creation in R3 system.
Thanks,
KellyHi,
First make your client modifiable, then follow the below procedure.
Go to transaction SALE or BD54 -> Sending and Receiving Systems -> Logical Systems -> You'll see "Define Logical System" and "Assign Client to Logical System".
For more information use below link.
http://help.sap.com/saphelp_nw70/helpdata/en/da/5990df015b5b43a36f6ce7fa1ee8c0/content.htm
Thanks,
Mano -
How to create dynamics columns in oracle query1.
hi,
how to create dynamics columns in oracle query.its very urgent.
regards
prasad..Urgent is it?
Why? Have you forgotten to do your coursework and you'll get thrown off your course if you don't hand it in today?
What makes you believe that your request for help is more important than someone else who has requested help? It's very rude to assume you are more important than somebody else, and I'm sure they would like an answer to their issue as soon as they can get one too, but they've generally been polite and not demanded that it is urgent.
Also, you assume that people giving answers are all sitting here just waiting to answer your question for you. That's not so. We're all volunteers with our own jobs to do. How dare you presume to demand our attention with urgency.
If you want help and you want it answering quickly you simply just put your issue forward and provide as much valuable information as possible.
Looking at your post you haven't told us what database version you are using, you haven't provided any create table DDL's and insert statements to populate that with sample data, and you haven't even shown us that you've had a go at doing something yourself.
You will find if you post on here demanding your post is urgent then most people will just ignore it, some will tell you to get lost, and some will explain to you why you shouldn't post "urgent" requests. Occasionally you may find somebody who's got nothing better to do who will actually provide you with an answer, but you really are limiting your options by not asking properly.
/rant
As a basic example of dyanamic SQL:
DECLARE
cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
cols DBMS_SQL.DESC_TAB;
ncols PLS_INTEGER;
BEGIN
-- Parse the query.
DBMS_SQL.PARSE(cur, 'SELECT hiredate, sal FROM emp', DBMS_SQL.NATIVE);
-- Retrieve column information
DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
-- Display each of the column names
FOR colind IN 1 .. ncols
LOOP
DBMS_OUTPUT.PUT_LINE (cols.col_name);
END LOOP;
DBMS_SQL.CLOSE_CURSOR (cur);
END;
/ -
How to create sub columns in interactive report
can u tell me , how to create sub columns in
interactive report. i really need it.i search lot but i dont get proper information.
help plz...
example : -
|_____total_ persons _____|
| persons | male | female |
100 200 3000
400 500 600i am nile.
select id as id,
male as male,
female as female
from persons.
i want interactive report with main column total persons(static text) in that male , female.
e.g.
|___total persons_| - - - - -> main cloumn
| male | female | - - - - -> sub columns
100 200
300 400
Edited by: user9512075 on Aug 29, 2008 1:46 AM
Edited by: user9512075 on Aug 29, 2008 1:47 AM
Edited by: user9512075 on Aug 29, 2008 1:48 AM
Edited by: user9512075 on Aug 29, 2008 1:49 AM -
How to create logical file name
Could some one tell me how to create logical file names in BW , and when to use the transaction SF01.
ThanksThe following describes the procedure for creating a cross-client definition using the transaction FILE.
You create the client-specific definition in the same way using transaction SF01.
1.Call transaction FILE for cross-client file names.
2.Double click the dialog structure Logical File Name Definition, Cross-Client.
You access the screen Change View "Logical File Name Definition, Cross-Client": Overview -
How to create New columns for the Internal Table Dynamically?
HI Guys,
In my logic i have to create new columns depending on the logic which i am executing.
My requirement is .I have to display o/p like this
Material || Year || Period || Mix ratio || Vendor ||Mix Ratio || Vendor || Mix Ratio Vendor || Mix ratio || Vendor || Mix ratio.............................from table's CKMLMV003 and CKMLMV001.Her i have to display the o/p in the above format and i have to display Vendor and Mix Ratio for 5 columns irrespective of data .If i have more than 5 columns for any record then i have to create a New columns dynamically for Vendor and Mix ratio.If anybody want my code i can Submit But plz tell with example how to do?
<b>The O/P must be finally shown in ALV Grid</b>
Thanks,
GopiYou must create the entire internal table dynamically, you can not add columns to a statically define internal table. Here is an example of creating a dynamic internal table.
Creation of internal table dynamically based on the Date Range entered
Regards,
Rich Heilman -
Can any one tell me how to create logical database
i want to create logical database which contain tables BSEG,BSIS,BSAS,BKPF.
tell me how this table will come under hierarchary and
what should i do.please guide me step by step for this problem,i am new to logical datbase.Hi,
Use transaction SE37 or SLDB for creation of LDB.
Three main things in creation of LDB are
1)Structure(Hierarchy in nodes)
2)Selections
3)Source code
In structure part we have to define hierarchy as IN NODES
BKPF - Accounting Document Header
BSEG - Accounting Document Segment
BSIS
BSAS
In selections part we have to define selection screens for the LDB
In source code part we have to write the data decelerations and data retrieval.
Regards
Rajesh Yadla -
How to create a column where each subsequent entry is added to the former?
How does one create a column, inside Numbers, where each subsequent cell is added, in value, to the preceding cell above it? For example, a column could be labeled "credit card subtotals for the month." In the first cell, one might insert a dollar value, eg., $24.00. The next credit card charge might be $100.00 and that would be added to the $24.00 to create a running subtotal.
Thank you.Hi Jay,
Both formulas are written as they would appear entered into C2.
The 'special formula' is also written as it would appear in C2. Where I have used 'formula for C2' substitute your choice of the two formulas listed above the 'special formula' in my earlier post.
If you choose to use the first version, the finished 'special formula' will look like this in C2:
=IF(LEN(B2)>0,SUM(C1,B2),"")
Jerry's remarks regarding using conditional formatting to suppress the display of zeroes is well taken, but in this case, will not work as there are no zero values to be hidden.
In this case, either of the initial formulas will repeat the last 'running balance' in every cell from the last row containing an entry in column B to the bottom row of the table.
The formula checks, by counting the number of characters displayed, whether an entry has been made in the column B cell on the same row as the formula (B2 in the example in this post. IF an entry has been made, the formula calculates the sum of that entry and the previous running balance. IF no entry has been made (ie. there are no chanracters displayed in B2, the calculation is skipped, and the empty string ( "" ) is placed in C2, giving the appearance of a blank cell.
Example: the formula in this post is used in column C. Column D uses the core of that formula (with the C1 reference replaced by D1) without the IF statement. Both formulas are filed down to the bottom cell in their columns. Note the difference in rows 7 and below:
Regards,
Barry -
How to create a column for Qtr1, Qtr2, Qtr3, Qtr4?
I am building a MetaData, and want to display Quarterly information. How can I build a logical column with that kind of information. For example, Qtr1, Qtr2, Qtr3, Qtr4, along with the Column for Total.
userQHNHi,
Using the time series wizard.it will generate all logical column
Regards,
devendra -
How to create a column that automatically creates a serial number?
How can I create a column that creates a serial number for each entry?
you could do something like this:
I assumed that the serial number only needs to be present if you have entered some information in the other columns of the corresponding row.
A2=IF(COUNTA(2:2)>0, REPT("0", 6−LEN(ROW()−1))&ROW()−1, "")
this is shorthand for... select cell A2, then type (or copy and paste from here) the formula:
=IF(COUNTA(2:2)>0, REPT("0", 6−LEN(ROW()−1))&ROW()−1, "")
To fill down:
select cell A2, copy
select column A by clicking the columne header (the "A" at the very top)
unselect cell A1 by holding the command key while single clicking cell A1
paste
Maybe you are looking for
-
Just bought CS4 Design Premium
I was hoping that I might make a friend and/or mentor to discuss CS4 Design without having to need an actual problem, more an over the back fence type of conversation. I just bought the CS4 and a new computer with the specs to handle the software. Al
-
Hi, I'm new to this forum as well as programming. 1) I'm using JBuilder 6 to run Java applications, but how do you run applications from MSDOS's command line ? 2)How can I print these patterns with some nested 'for' structures in Java : *
-
Unable to copy redo-logs for cloning
Hello We are using R12 with 10.2.0.2 db we take db tier backups every night and apps backup twice a month(15 days interval) We normally run autocfg.sh and adprecolne.pl on dbTier.After this we stop all services, shutdown the database and copy all the
-
Can I view a MacMini on the iMac?
I need to "reconfigure, etc." a MacMini. Rather then doing this on the TV, to which it is normally hooked up, I'd rather do this on my iMac, because that would be so much more convenient. How to I hook up the MacMini, such that I can "see" it on the
-
OSX Clients with portable homes on nfs share on non mac hardware
Hello, Has anyone already been using an NFS Filer, as EMC VNX, a Netapp or simply a QNAP or other NFS capable device to put the homedirectories for your users on it ? I've been trying this out now for monthes but without success. The nfs share should