Export different value what we display in one column of answers
I have a column which has almost 50 concatenated values by comma. I don't want to display all values to user in report. Just I will display "Multiple" instead of all these concat values. But when user export the report. User must see all concatenated values in that column.
How can I achieve this?
I do have a column in Oracle database Contributor_List. Which has following values in pipe separated way. There may be 50 values like in below example 3, 2 and 3 values are given.
ABMB|BVAL|AFMY|
ABMB|BVAL|
MZSG|JSDP|DASJ|
On OBIEE Answers, user want to get it displayed as "MULTIPLE" keyword because there may be 50 values. So these values will display as follows.
MULTIPLE
MULTIPLE
MULTIPLE
Now when exporting to excel, user again want to download the original value like "ABMB|BVAL|AFMY|" in place of "MULTIPLE"
Just wanted to know how we can achieve this?
Similar Messages
-
How to join fields from different internal tables and display into one int
hai i have one doubt...
how to join fields from different internal tables and display into one internal table..
if anybody know the ans for this qus tell me......hii
you can read data as per condition and then can join in one internal table using READ and APPEND statement..refer to following code.
SELECT bwkey " Valuation Area
bukrs " Company Code
FROM t001k
INTO TABLE i_t001k
WHERE bukrs IN s_bukrs.
IF sy-subrc EQ 0.
SELECT bwkey " Valuation Area
werks " Plant
FROM t001w
INTO TABLE i_t001w
FOR ALL ENTRIES IN i_t001k
WHERE bwkey = i_t001k-bwkey
AND werks IN s_werks.
IF sy-subrc EQ 0.
LOOP AT i_output INTO wa_output.
READ TABLE i_t001w INTO wa_t001w WITH KEY werks = wa_output-werks.
READ TABLE i_t001k INTO wa_t001k WITH KEY bwkey = wa_t001w-bwkey.
wa_output-bukrs = wa_t001k-bukrs.
MODIFY i_output FROM wa_output.
CLEAR wa_output.
ENDLOOP. " LOOP AT i_output
ENDIF. " IF sy-subrc EQ 0
regards
twinkal -
Dimension columns to be displayed in one column
Is there a way to show like "Product Type" and "Product" in ONE column in a report? (displayed as dimension)
where "Product Type" and "Product" are from different levels
Example: The first column in the report should look like this:
Product Type 1
Product 01
Product 02
Product 03
Product Type 2
Product 04
Product 05
Product 06
Thanks
JanneHi
one way is like going for union
Other way is: add type, product columns in criteria select list.. go to pivot
I assume product Type is first then product will come next...
Now, apply subtotal on producttype > Before then hide this product type column...
And, to get the same values as the product type there.. instead of "Product type 0 Total"..
click on sigma button then "Format Labels", keep @ in caption field..
Edited by: Kishore Guggilla on Jul 29, 2010 1:18 PM -
How to retrieve different data separated by comma into one column
Hi all,
We have a Custom View.In that some of the customer's Bill-To address is different remaining all columns contain same data.In that case if we query with that customer_number it displays more than one row with different Bill-to addresses,it is fine.But our requirement is we need to display only one row for that customer_number and Bill-to address column shows all Bill-to addresses corresponding to that customer separated by comma.
Could anyone give us any idea to solve this.
Thanks in Advance,
Dhanai do not a concatenated data
i have a data in a table with columns A & B of same size
A B
1 2
2
3 1
4 2
5 3
6 5
7 1
8 4
9
10 8
if my where condition is 'where A=2'
my output should be
1
2
3
4
5
6
8
10
i want my query to search as loop so that it keeps on searching
for related data as in my case it is
2 is linked to 1
1 is linked to 3
3 is linked to 4
my query should keep on seaching for linked numbers till
it does not find any mathing linked numbers
and the resulted output should come in one single column -
ALV grid can we remove the repetation values in field & display as one .
Dear Freinds,
i have developed a custom development relating to a salarly report based on the orgunit, the output is coming however i have one doubt in alv output.
right now my internal table data having data as follows : (iam giving only some fields)
orgunit orgdesc Empno Empname
70000905 Human Resources 7056 Richard
70000905 Human Resources 7057 Reymond Jain
70000905 Human Resources 7058 Maria Gulz
70000905 Human Resources 7061 Jacob
now in my output i dont want to have the orgunit value 70000905 and orgdesc (human resources) shouldnt not be repeated . is there any option in ALV where we I can use in
the field cat ( any parameter) where i can set that we can make the orgid as one and remove the repeation.(iam using alv grid function module).
Please help me in this regard
Regards
SyamlaHi,
Before displaying sort ur internal table.
refer this code.
*& Form sub_display_data
text
FORM sub_display_data .
*--To sort the output through material number
DATA : lwa_sort TYPE slis_sortinfo_alv.
DATA : lit_sort TYPE slis_t_sortinfo_alv.
*--Pass the values to the table
lwa_sort-fieldname = 'PERNR'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '1'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = 'X'. "Subtotal
APPEND lwa_sort TO lit_sort.
*--Pass the values to the table
lwa_sort-fieldname = 'WORKDATE'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '2'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = ' '. "Subtotal
APPEND lwa_sort TO lit_sort.
*--Pass the values to the table
lwa_sort-fieldname = 'WEKLY'. "Field name in o/p inttable
lwa_sort-tabname = 'it_final2'. "Output Internal table
lwa_sort-spos = '3'. "Sort sequence
lwa_sort-up = 'X'. "Sort in ascending order
lwa_sort-down = ' '. "Sort in descending order
lwa_sort-subtot = ' '. "Subtotal
APPEND lwa_sort TO lit_sort.
wa_layout-colwidth_optimize = 'X'.
IF NOT it_final2[] IS INITIAL.
*--Call the function module to display the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = wa_layout
i_callback_program = v_repid
it_fieldcat = it_fieldcat1[]
i_default = c_chk
i_save = c_save
it_sort = lit_sort
TABLES
t_outtab = it_final2
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
*--Message No data found
MESSAGE i888 WITH text-017.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " sub_display_data
Regards,
Prashant -
Export different layers from two documents in one book
hey guys!
i've been browsing the web al lot recently to find a solution for my problem, but unfortunately, didn't find any help.
There are two documents in an book. both of them contain the same layers, but different content.
(doc1-layer1-layer2 / doc2-layer1-layer2)
Is it possible to export/print the book, and use layer1 form document one and layer2 from document 2?
Maybe there is a plugin / script for this topic?
Thanks for your help in advance, i'm glad for every hint!
greetsthanks a bunch for your solutions!
in the meantime i found a great plugin called ctrlLayer, which works just nice in this case and much more!
have a look here (German): http://www.impressed.de/t/produkt.taf?fn=detail&PR_ID=1319
and here : http://www.ctrl-ps.com/products/ctrllayers
greets! -
I want to remove the toolbars in one open instance of Firefox but not in others.......this was possible in the prior version. Now if I change the settings in one instance, it automatically changes in the other open Firefox windows. How I can I make this work as it did before the upgrade? Thanks, Kris
Thanks a million! It was not intuitive to "swipe" the open applications up but it works perfectly!!
Thank you
shafferd -
Distinct count of values which are displayed in two columns in SSAS
Hi,
How is it possible to get distinct count of two columns in fact table, meaning how many different appearances are in both columns.
Please note I DO NOT mean distinct count on the concatenated fields.
I’ll demonstrate with example:
Fact table- deals with CustomerID and SupplierID and deals data.
I need distinct count of companies which are either customer/ supplier in the fact table.
(making a concatenated field and distinct count on that would not give what I need).
Ex: fact :
Deal1, Customer X, Supplier Y …
Deal2, Customer X, Supplier Z …
Distinct count of companies in the above should be 3.
How can this be done?
Thanks
Namnami
Anyone?? There must be a way to do this?!Are you trying to do this using the SSAS model, or just off the data using SQL? If you were to just use SQL I would create two sub queries and union them to remove duplicates.
ie.
SELECT DISTINCT customer FROM table_1
UNION
SELECT DISTINCT supplier FROM table_1
This will give you one unique master list. -
Displaying selected values to be displayed in a Column
Hi Friends,
I am using a table that contains TITLE,DESCRIPTION,ID
FOR EXAMPLE for my title record value i have stored as,
TITLE -
India_35534957934
Country_4356365
I want to display only letters before the _ symbol like
India
Country
like this pls help me how to achieve this
THANKS IN ADVANCEThere are several ways to do string manipulation such as this. A few examples include:
SELECT PARSENAME(REPLACE(TITLE,'_', '.'), 2) FROM Table1
SELECT SUBSTRING(TITLE,0,CHARINDEX('_', 'TITLE')) FROM TABLE1
Thanks,
Sam Lester (MSFT)
http://blogs.msdn.com/b/samlester
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
"Mark as Answer" and
"Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread. -
Row array values to be shown in one column
INTPUT
T[0] = 123
T[1] = 124
T[2] = 125
X[0] = X0
X[1] = X1
X[2] = X2
X[3] = X3
A[0] = A0
A[1] = A1
Y[0] = Y0
Y[1] = Y1
Y[2] = Y2
OUTPUT =
T X A Y
===========================
123 X0 A0 Y0
124 X1 A1 Y1
125 X2 null Y2
null X3 null nullHi,
782331 wrote:
CREATE TABLE testinput (
T0 varchar2(30) ,
T1 varchar2(30) ,
T2 varchar2(30) ,
X0 varchar2(30) ,
X1 varchar2(30) ,
X2 varchar2(30) ,
X3 varchar2(30) ,
A0 varchar2(30) ,
A1 varchar2(30) ,
Y0 varchar2(30) ,
Y1 varchar2(30) ,
Y2 varchar2(30) )
insert into testinput ( T0 , T1 , T2 , X0 , X1 , X2 , X3 , A0 , A1 , Y0 , Y1 , Y2 )
values ( '123','124','125','X0','X1','X2','X3','A0','A1','Y0','Y1','Y2' );Oh! Your table has 1 row and 12 columns. In your first message, it looked like it had 12 rows and 2 or 3 columns.
(Actually, the number of rows doesn't matter.)
In that case, you want Unpivot rather than pivot.
A better way to do unpivot was also introduced in Oracle 11. Since you I don't know what version you have, I'll show you the less elegant way, which will work in Oracle 9 or higher so the chances that you can use it are higher:
WITH got_r_num AS
SELECT LEVEL - 1 AS r_num
FROM dual
CONNECT BY LEVEL <= 4
SELECT CASE r.r_num
WHEN 0 THEN t.t0
WHEN 1 THEN t.t1
WHEN 2 THEN t.t2
WHEN 3 THEN NULL -- Default, but it doesn't hurt to say so explicitly
END AS t
, CASE r.r_num
WHEN 0 THEN t.x0
WHEN 1 THEN t.x1
WHEN 2 THEN t.x2
WHEN 3 THEN t.x3
END AS x
, CASE r.r_num
WHEN 0 THEN t.a0
WHEN 1 THEN t.a1
ELSE NULL
END AS a
, CASE r.r_num
WHEN 0 THEN t.y0
WHEN 1 THEN t.y1
WHEN 2 THEN t.y2
WHEN 3 THEN NULL
END AS x
FROM testinput t
CROSS JOIN got_r_num r
ORDER BY r_num
;For every row in your table, we want 4 rows of output. To get that, we can join each row in the table to 4 rows in some other table. (In this example, the other "table" is actually the result set of a sub-query.)
With minor changes, the same approach will work in Oracle 8 and earlier versions, too. -
I'm using Numbers 3.2 and would like to count the names in a column which satisfy a condition in a different column. There are 3 "streams" through which these names have come to me, and I would like to easily identify how many have come from each stream. Any help?
Hi DirtyDawg,
COUNTIF is your friend here.
If your source is in column C and your streams are 1, 2 and 3:
=COUNTIF(C,"=stream1")
=COUNTIF(C,"=stream2")
=COUNTIF(C,"=stream3")
These need to be in a footer or header row or in a different column than C.
hope this helps,
quinn -
Display concatenad fields under one column in alv.
How can I concatenate three or four fields(Taken from different tables) and can display under one column in ALV report?
I want to display:
final_column = production orderStatusmaterial type+maintenance status (concatenation of four fields).
production order: caufvd-aufnr
status: tj02t-txt04
material type: mara-mtart
maintenance status:mara-pstat
I want to display only final_column in my alv output screen.
Kindly guide.
Thanks and regards.
Thanks and regards.
Message was edited by:
cinthia nazneenPlease go through the below code and do the same for appearing the four fields of different table into One Field catalog at Display by Concatenating .
DATA :v_tmp type string .
Loop at itab1.
Read table itab2 key field1 = itab1-field1 .
Read table itab3 key field1 = itab1-field1 .
Read table itab4 key field1 = itab1-field1 .
Concatenate itab1-field1 itab2-field1 itab3-field1 itab4-field1 into v_tmp.
fieldcatalog-fieldname = 'V_TMP'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endloop.
Reward points if it is usefull .....
Girish -
FSG: Reporting Attributes Showing in one column for multiple segments
I am doing an FSG and and trying to run it through Program - Publish FSG Report and using the template provided but having a problem with the first coulmn of the report. The first column of the report is bunching up all the segments in one column instead of seperating it in multiple columns. For eg. 5100 Travel expense instead of in two different coumns is put together in one column. I have tried lot of things but none of them fixed it.
I would be glad to know anything that can solve or lead to a solution to this problem
ArunYes, I did. I had chose four segment descriptions there and I had something like 30-35 as the space for them. I have also checked the starting value of the column set. It looks ok. The XML BI Publisher is unable to seggregate them it seems for some reason.
Arun -
Write three signals to spreadshee​t file (Each signal on one column)
Hello,
I have a simple task that I need some assistance with. To be brief, I am reading the angular values of 3 encoders and I am writing these values to a spreadsheet file at the press of a trigger. Everytime I press the trigger, the corresponding 3 angular values are written to the spreadsheet file. I press the trigger again, the next 3 angular values are appended to the same spreadsheet file, and so on.
My problem is, the values are being written all under one column in the following manner:
encoder1 (value1)
encoder2 (value1)
encoder3 (value1)
encoder1 (value2)
encoder2 (value2)
encoder3 (value2)
encoder1 (value3)
encoder2 (value3)
encoder3 (value3)
.....and so on.....
I would like to have these values written in a way that the values of each encoder are written to the corresponding column for that encoder (ie. 1 column per encoder) in the following manner:
encoder1 (value1) encoder2 (value1) encoder3 (value1)
encoder1 (value2) encoder2 (value2) encoder3 (value2)
encoder1 (value3) encoder2 (value3) encoder3 (value3)
......and so on.....
That is, I would like to have all the values of encoder1 written under the first column, values of encoder2 written under the second column and the values of encoder3 written under the third column.
I attached the part of my VI related to my task. Any help would be greatly appreciated.
Thank you,
r15
Attachments:
encoders.vi 10 KB
encoders.vi 10 KBI may have been misunderstood since I only posted a snippet of my code. So please find attached my complete working VI.
I will be running a while loop and writing the data to a spreadsheet in that while loop everytime I press the trigger. In the end of my program, I will have multiple values for the encoders and not just one value for each encoder. Hence, in my spreadsheet I aim to have 3 columns (1 for each encoder) and a variable number of rows (between 10 to 20). So I want my spreadsheet to be a 2D array with 3 columns and n rows. (where 10<n<20).
I hope this makes it clearer as to what I am trying to accomplish and I apologize for not being clear earlier.
The problem I have is that all the values are being written to one column.
Thank you,
r15
Attachments:
sequential(3enc)-simplified.vi 44 KB -
Adobe Media Encoder exports different video than what appears in CS4 timeline
I'm using Premiere CS4 to edit a short skiing video. All shots were taken using a GoPro @ 60fps, 720p. All of the clips were converted into slow motion by using "Interpret Footage" and setting the frame rate to 24. I used the sequence preset "AVCHD 720p 24", and editing seemed to work fine. The video played smoothly and correctly. However, after exporting in Adobe media encoder, the video was far different than what I previewed in the timeline. It seems as though each clip shows up at the correct time, but it disregarded any trimming I did to the clips and each one is played from the very beginning. Also, each clip plays extremely slowly, and there is signifigant ghosting (frame blending issue?). I can also see that the preview window that shows up while I set the export settings displays the incorrect video as well. However, if i change it from "source" to "output", it displays it correctly. I tried exporting using H.264 720 24p and the youtube HD widescreen preset, both of which failed. I am somewhat new to HD video, but I cannot seem to come up with any reason why my video will not export correctly. Any thoughts?
PC Specs:
Intel Q6700 quad core @ 2.66gh
4gb ddr2 ram
1tb 7200rmp hard drive
GeForce gt240 graphics card w/ 1gb dedicated video mem
windows 7 ultimate 64
All updates to premiere installedI don't think AVCHD is the correct preset... but I use CS5 so not 100% sure
Flip or GoPro video http://forums.adobe.com/thread/437535?tstart=0
- And http://forums.adobe.com/thread/668369?tstart=0
- And http://blogs.adobe.com/VideoRoad/2009/12/using_a_flip_minohd_camera_wit.html
- Says to use the XDCAM EX 720p 30p (or 60p?) setting for Flip (maybe GoPro?)
Maybe you are looking for
-
Is there any way to move songs from one account to another?
I accidentally bought an album on iTunes on the wrong account. In order to download it onto my iPod, I think that all of the songs from the other account would be deleted. Is there any way to just move the album to the other account (which is on the
-
Why are the tear off tool panels so much larger in CS6?
Am I missing something? I typically tear off the tool panels for quick access. It appears the CS6 interface and made them much larger and they no longer neatly tuck into the top of my screen. What is the funtion of the small dashed line at the top of
-
V$UNDOSTAT BEGIN)TIME GREATER THAN SYSDATE
I have 18 rows in V$UNDOSTAT with begin_time greater than sysdate. what could have caused that? I noticed this anomaly when i was looking for some undo information. All that has happened recently is, I have restored the db (9.2.0.1 on REHL 3) on a di
-
execute JSX in Windows? through PHP application
-
"Your application install seems to be damaged, Please reinstall the application."
So I have been trying to contact chat support for the past hour and no answer. I spoke to them earlier about my Creative Cloud app having froze and they talked me through how to solve this issue. However, now when I try to open any of my downloaded a