Select column, but group rows inside that column first
Hi,
I have a scenario where I want to show data from a column, but the column has multiple entries of the 'same' entry.
id company
1 burger_king
2 mcdonalds
3 mcdonalds_east
4 diary_queen
5 mcdonalds_west
I want to be able to show all companies but group the mcdonalds companies.
Any suggestions on how to do that?
Thanks.
Here's a funky way (if I haven't misread the requirement):
SQL> -- generating sample data:
SQL> with t as (
2 select 1 id, 'burger_king' company from dual union
3 select 2, 'mcdonalds' from dual union
4 select 3, 'mcdonalds_east' from dual union
5 select 4, 'diary_queen' from dual union
6 select 5, 'mcdonalds_west' from dual
7 )
8 --
9 -- actual query:
10 --
11 select id
12 , company
13 from ( select id
14 , company
15 , row_number() over (partition by soundex(company) order by id) rn
16 from t
17 )
18 where rn = 1;
ID COMPANY
1 burger_king
4 diary_queen
2 mcdonalds
3 rows selected.
Similar Messages
-
Interactive Report - Include Non-selected Column in Row Text Search
Hi,
We have an interactive report that contains many columns. NAME VARCHAR2(30), TYPE VARCHAR2(30) etc and DESCRIPTION VARCHAR2(4000).
Normally the DECRIPTION column would not be shown (avalilable for dispaly via 'Select Columns' but not selected), however we need the default Row Text Search (ie direct entry into the search field instead of creating a column filter) to search the DESCRIPTION field wether it is selected for display or not.
This will allow the user to enter a term that may be contained in the DESCRIPTION to find records without trying to display a 4000 character field in the report - which just looks horrible.
We are using ApEx 4.1.1.
Thanks,
Martin FiggHi Ray,
As I expected this has got us very close. We went with the code:
select
facility_id,
facility_name,
'<span title="' || facility_desc|| '">'||substr(facility_desc,0,50)||decode(sign(length( facility_desc)-50),1,' (More...)',NULL)||'</span>' facility_desc,
equipment_id,
equipment_name,
'<span title="' || equipment_desc|| '">'||substr(equipment_desc,0,50)||decode(sign(length( equipment_desc)-50),1,' (More...)',NULL)||'</span>' equipment_desc,
from
rf_full_item_list_vwhich works well. The only issue is that when you download to csv you get the html tags etc as well. Put I am a lot closer to a solution than we were.
Thanks again.
Martin -
How can I search a word in a column and erase all the rows containing that word?
How can I erase all the rows containing a certain word at once?
Right now I do it manually : I search the word in a certain column with cmd+f, after that it points out where the word is in different rows. And then I manually erase every row but this takes a lot of time when you have 500 row! There must be a way to select all the rows concerned at once and erase them? Thks!assuming this is something you don't do very often you can simply use the search feature to identify instances of the search term, and select the row, delete the row then search again.
The next level would be to add a new column where you identify that the search term exists in a cell of the row, then you sort by the new column:
B1=IF(IFERROR(FIND("team", A1,1), 0)>0, "FOUND", "")
my search term is "team" change yours as needed.
select B1, copy,
select Column B, paste
Now sort:
Inspect the rows to make sure the rows found are REALLY ones you want to remove. select the ones you want to remove and delete those rows. -
Disabling resize on row selected column in DataGridView
Hi,
In my application, I have managed to disable resizing of my data columns on my DataGridView, but the only column that I cannot disable the resize feature is on the row select column, you know, the one which shows which row is currently selected (also shows the little pencil when the line is being edited).
Can someone help me identify how to disable this please? I'm using VS2005 pro and C#.
I'm doing this programmatically because my program uses many different databases. I currently do things like:
this.myDataGridView.Columns["LineIndex"].width = 100;
this.myDataGridView.Columns["LineIndex"].Resizable = DataGridViewTriState.False;
Can I do the same sort of thing to fix the width of the row selection column? I don't want to hide it, just stop the resizing of this column!
Thanks
SeanThis option disables columns re-sizing at all, also if property AllowUserToResizeColumns =True ...Did you know how can I to enable to user to resize all columns, except "selector column" (the column with the arrow)? Thanks
-
On ALV report in1 column I want to put Icon on every row of that column.
On ALV report there is 1 column I want to put Icon on every row of that column.That ALV program uses object oriented concept all class and methods.
I want to use that icon on that row. That icon name is ICON_OKAY
In my program when I assign values to internal table at that time I am assigning that ICON_OKAY value to that row as follow.
Itab-
Itab-icon = ICON_OKAY.
Append itab.please follow below procedure to display icon in ALV
1) In corresponding fieldcatelog entry do
fieldcatalog-icon = 'X'
2) While filling the internal table fill the corresponding key value of icon , for example ICON_OKAY value is '@0V@' so statement would be
Itab-icon = '@0V@'
to get list of corresponding key for icon open include <ICON> in se38 -
Grouped rows\columns open up on each refresh
Hi,
Every time I refresh a smartview query the grouped rows & columns open up, Is there a view where I can avoid this ?
ThanksThanks a lot GlennS_3
-
How to select columns in a table by their column id and not the column name
Hello,
How do you select columns from a table based on their column_id.
I have create a view
but other than Select * , i cant now select one just one column from it
the view as follow:
create view count_student as
select a.acode "acode",aname "Activity Name",count(ae.acode) "Number of student joined"
from aenrol ae, activity a
where a.acode= ae.acode
group by a.acode,aname;The issue is that you have decided to use quoted column names. A pretty horrible idea (mostly for the reasons that you are now finding).
Re-create the view and get rid of the silly double quotes. -
Select columns from table for display in alvgrid.
Hi all,
i have the following:
i do select a tablename and pass it as a parameter. then this table is loaded into an internal table and displayed in an alv-grid.
what i now want to do is a step between the both:
after the internal table with its structure is loaded, i want to display the field columns and i want them to be selectable so that in the next step the alv - grid is selected only with the selected columns ( just now it allways runs with all columns - even the not needed ).
Any ideas for that would be appreciated. Is there some tutorial on that or some sample ?hi
chk this sample code:
*REPORT zdemo_alvgrid .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
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.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.
**reward if helpful
regards,
madhu -
Selecting Columns with User Defined Types... in PHP
I've looked all over google and this forum and can't find anything about this... here's what I've got:
a User Defined Type:
CREATE TYPE "ADDRESS" AS OBJECT (
ADDRESS VARCHAR2(256),
COUNTRY VARCHAR2(256),
STATE VARCHAR2(256),
SUBURB VARCHAR2(256),
TOWNCITY VARCHAR2(256)
and it is used in a column in one of my tables:
CREATE TABLE "SUPPLIERS" (
"ID" NUMBER,
"USER_ID" NUMBER,
"NAME" VARCHAR2(50),
"ADDRESS" "ADDRESS"
so that column "address" is of type "address". I am then able to insert a row using:
INSERT INTO "SUPPLIERS" VALUES(1,1,'name',ADDRESS('address','country','state','suburb','town city'));
and that all works as expected. I can select the data using iSqlPlus and get the result I expect;
ADDRESS('address', 'country', 'state', 'suburb', 'town city')
So here's the problem. I cannot reterieve the data as expected, using PHP. If I make a select statement on the table that excludes the ADDRESS column I get the results as expected. If the ADDRESS column is included I get an error when fetching the row:
ORA-00932: inconsistent datatypes: expected CHAR got ADT
I'm assuming this is because the the cell cannot be cast to a string. How can I select the row so that the ADDRESS column is returned as an object? Can I even? If I can't, I don't see the use of Object Data Types... :(
I have found that I can select a field of the type using:
SELECT t.ADDRESS.TOWNCITY FROM SUPPLIERS t;
But this is not ideal, because the whole idea was that I could (potentially) change the format for, in my example, an address, and not need to alter my SQL statements.
Any ideas??PHP OCI8 can currently only bind simple types. Here are two possible
solutions.
-- cj
create or replace type mytype as object (myid number, mydata varchar2(20));
show errors
create or replace type mytabletype as table of mytype;
show errors
create or replace procedure mycreatedata1(outdata out mytabletype) as
begin
outdata := mytabletype();
for i in 1..10 loop
outdata.extend;
outdata(i) := mytype(i, 'some name'||i);
end loop;
end;
show errors
-- Turn the data into a ref cursor (but PHP OCI8 doesn't use prefetching for ref cursors)
create or replace procedure mywrapper1(rcemp out sys_refcursor) as
data mytabletype;
begin
mycreatedata1(data);
open rcemp for select * from table(cast(data as mytabletype));
end mywrapper1;
show errors
-- Turn the data into two collections
-- This might be faster than returning a ref cursor because you can
-- use oci_bind_array_by_name() on each parameter.
create or replace procedure mywrapper2(pempno out dbms_sql.NUMBER_table, pename out dbms_sql.VARCHAR2_table) as
data mytabletype;
begin
mycreatedata1(data);
select myid, mydata
bulk collect into pempno, pename
from table(cast(data as mytabletype));
end mywrapper2;
show errorsThen in PHP you could do:
// Use a Ref Cursor
$s = oci_parse($c, "begin mywrapper1(:myid); end;");
$rc = oci_new_cursor($c);
oci_bind_by_name($s, ':myid', $rc, -1, OCI_B_CURSOR);
oci_execute($s);
oci_execute($rc);
oci_fetch_all($rc, $res);
var_dump($res);
// Use Collections
$s = oci_parse($c, "begin mywrapper2(:myid, :mydata); end;");
oci_bind_array_by_name($s, ":myid", $myid, 10, -1, SQLT_INT);
oci_bind_array_by_name($s, ":mydata", $mydata, 10, 20, SQLT_CHR);
oci_execute($s);
var_dump($myid);
var_dump($mydata); -
Selection column in Table control..
Hi ,
I have used a table control wizard in my custom screen. And it gives the desired output.
But it doesnot contain the selection column ( used to slelect the table control rows) .
Now i want to add that column to my existing Table control.
1) what changes should i do with my Internal table?
2) What should be included with the Table control in Screen Painter?
I searched the forum..but i didnt get the solution..
If anybody knows pls suggest me..hi sathya,
this may be helpful to u
goto the screen painter double click on the table control wizard,u will get a pop up screenpainter attributes.
In that pop up towards the end you will have a checkbox w/selcolumn,just check it.you will be able to get theselection column for your table control.
u have to give a name to the selection column and add to the internal table which has the contents of the table control.you can select and unselect the columns using that variable.
regards,
sravanthi -
Interective Report - Select columns takes forever - APEX32
I have an interactive report with a query joining two tables. Both tables may have sever hundreds (not many) rows.
The query runs fast on sql but when on interactive report is run based on same query, and when I click on "Select Columns" to display selected columns, it simply gives that scrolling round circle and just stays there without displaying the select columns wizard window.
Any Idea to resolve this issue?
Thanks,
RHi,
This might not be problem, but do you see any javascript errors from page ?
If you create report to totally new page, does it work ?
Br,Jari -
Return selected column header of table
I'm sure there's probably a way of doing this. But I haven't found it yet.
I'm building an application that will act as a kind of "universal" report generator for tables in a MySQL database.
On startup, a Combo box is populated with table names of the database. When the user selects one of those tables, the column names are retrieved from the database and used to populate the column headers of the LabVIEW table.
The idea is that the user will be able to select that column and enter filter contraints into a text box. Those constraints will then be added to the WHERE statement for that column.
So far I've only been able to find a way to return the Active Cell or a Selection of Cells when the user clicks on the actual data in the table.
Is there a direct way to retrun a selected column header value in LabVIEW?
I'm musing there may be some kind of workaround using transparent controls on top of the headers. But since different tables will have different numbers of columns that the user sets the width on, I'm not really sure this will work either.
Patrick Allen
Solved!
Go to Solution.falkpl wrote:
If you make the headers editable, this allows active cells to specify your column selected active row is -1 column is the selected column. you might have to use mouse down? to filter out the ability for the user to edit your column headers though.
Hmmm.....this has possibilities.
I definately don't want the user changing the actual headers. Although in this case, maybe I could call that a "feature". Eventually the idea is that when the user has all the data filtered to his liking , he pushes an "export" buttton and everything is dumped to an Excel worksheet. He can then manipulate it. Create graphs. Etc. Etc. So maybe changing the headers to something other than somewhat non-intuitive field names in our database is desireable.
Thanks for the suggestion.
Patrick Allen -
Is it possible, that "SELECT *" returns records, where columns are
ordered in a different order, than the order they were
positioned/specified when table was created?
For example, lets assume that table T contains columns c1,c2,..c10.
Can this be possible, that the * (asterisk) shows the columns in a
different orderm the c1 and c10 changed their position for example:
query:
"SELECT * FROM T"
results:
c10, c2, c3, .., c9, c1.
I think you anderstood my question now.
The sql-standard doesn't tell about it nothing, but i have heard that
"selesct *" can produce columns in a random order in some situations.
Notice, that i'm not talking about "ORDER"-operator. I have heard that if one make a table with plenty of columns and adds plenty of indexes and constraints to the columns, then "select *" really will produce mistery column order.
Thank you for answering,
Regards.FWIW I suspect that block structure is not a factor either.
Consider
SQL> CREATE VIEW v AS SELECT * FROM emp;
View created.
SQL> desc emp
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> desc v
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> WITH accounting_emp AS (SELECT * FROM v WHERE deptno = 10)
2 , accounting_dept AS (SELECT * FROM dept WHERE deptno = 10)
3 SELECT *
4 FROM ( SELECT * FROM accounting_dept )
5* , ( SELECT * FROM accounting_emp );
DEPTNO DNAME LOC EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
10 ACCOUNTING NEW YORK 7782 CLARK MANAGER 7839 09-JUN-81 2450 10
10 ACCOUNTING NEW YORK 7839 KING PRESIDENT 17-NOV-81 5000 10
10 ACCOUNTING NEW YORK 7934 MILLER CLERK 7782 23-JAN-82 1300 10
3 rows selected.This returns rows in a consistent (if apparently undocumented) order, which seems to be something like:
* Tables/views in FROM list
* SELECT list
* SELECT list within views in FROM list
* SELECT list of subquery factoring clause
* ALL_TAB_COLUMNS.COLUMN_ID (for tables and views)
* ALL_TYPE_ATTRS.ATTR_NO for attributes of object types
If it did not, it would break many valid PL/SQL constructions as others have mentioned, including %ROWTYPE , UPDATE ... SET ROW, INSERT ... VALUES [record], and INSERT without column list. This type of failure will be familiar to those developing invoker rights packages, since the table found at runtime could have columns in a different order than the one compiled against, which will produce effects such as values appearing in the wrong attributes of %ROWTYPE records. -
Power Query and multi-selection columns
I have a power query pulling data from a sharepoint list some of the list columns allow multiple selections.
The power query seems to only be pulling in one value instead of all the selected ones in the columns.
Thanks,
EricHi Eric,
Just to add a bit more detail to what is going.
In Power Query, SharePoint List columns with multiple selection choices are represented as nested tables with a single column called "Value". Each row of these nested tables will represent a selected choice for the list item. You can examine this by clicking
on "Table" under the "Options" column on one of the rows.
By clicking on the "Expand" icon of a column, you are making use of the Table.ExpandTableColumn function. That function will take each row in the table and do a cross product with the rows of the nested tables of the selected column. This means that each
row will be duplicated as many times as there rows in the nested columns.
In this specific case, each item in the SharePoint list will become duplicated as many times as there are selected choices for the item. This can be very useful in some cases, but I think that in your case this is not the operation that you're looking for.
If you want to simply create a column that combines all the selected choices as a single text value, there's a simpler alternative to Alejandro's solution:
= Table.AddColumn(RemovedColumns, "Options 2", each Text.Combine([Options][Value], ", "))
You can simply paste the above as a blank step by clicking on the "Fx" icon next to the formula bar. Here we're creating a new column called "Options 2" that combines the text values in the "Value" column of the nested table of the Options column and separate
each entry by ", ".
-Tristan -
Changes to selected columns to display in Details tab in Task Manager are not saved during a reboot
I use Task Manager on Server 2008 R2 to monitor performance. I have added several columns to the Processes tab using View..Select Columns. I have added CPU time, I/O read/write/other bytes, etc.
The equivalent in Server 2012 is the Details tab. I figured out how to add these same columns - right click on the column headers, and choose "Select columns". This is not obvious by the way.
However these selections are not persistent across a reboot. So every time I reboot, I need to add the columns back to the display. That is not the case with Server 2008 R2 - they are persistent.
I am using a domain administrator userid, but not using roaming profiles.
This is a retrogression vs. Server 2008 R2. Can it be fixed?Hi,
I meant that both the added columns of Windows Server 2008 R2 and Windows Serve r2012 RC are persistent.
You may install a new Windows Serve r2012 RC to check the symptom.
Currently, you may perform a System File Checker (SFC /Scannow) to check the result.
Regards,
Arthur Li
TechNet Community Support
Arthur, I have the exact same problem as David Trounce. The problem exists, as he described it, and I don't think you are understanding it. Please pass this problem/bug/defect report to someone else so that it can be logged and fixed before
RTM. Thanks! -Kent
Maybe you are looking for
-
Firefox won't open links from other programs if already running
I've seen this reported many other places, but none of the solutions have worked. I am running Firefox v33.0.2 (current as of this message) on Windows 7 64-bit (fully updated). I did the following: 1. Completely deleted my profile; 2. Uninstalled Fir
-
Upload any XML file to internal table
Hi, I'm writing a FM to upload any XML file (Which means I don't know the structure) to a internal table. I tried to use FM 'GUI_UPLOAD' and CALL TRANSFORMATION ('ID'). But the problem is that, the RESULT tab of CALL TRANSFORMATION ('ID') needs to de
-
If time machine backups hourly. Then why does it need to backup daily, seekly, and monthly?
-
Creating PDFs using Pages and Mail
Hi, I'm a contractor and I use Pages and Mail to to create PDFs of invoices that I email to clients in the form of attachments. I have Mail set up to to send only Windows friendly attachments, and to put them at the end of emails. I have one client,
-
Why can't I re-install CS4 after new drive installed?
I had a hard drive crash. Had a new hard rive installed at computer repair store. Had any recoverable files installed on new drive. Removed any remaining CS4 files recovered. Went to re-install CS4 and it won't install.