Re: il DataView più importante? Righe NON escluse! - Stato modificato in: Riconosciuto@hogi - Grazie per il tuo suggerimento! Abbiamo catturato la tua richiesta e la prenderemo in considerazione.
Ri: il DataView più importante? Righe NON escluse! - Stato cambiato in: IndagineRi: il DataView più importante? Righe NON escluse!Ci ho pensato per un po' e durante la mia breve vacanza ho deciso di lavorare su un approccio sceneggiato per farlo.
Stiamo esaminando questo, tuttavia, per renderlo più facile.

Ecco la mia sceneggiatura:
/***************************************************
SCRIPT NAME: Row Selector Viewer
AUTHOR(s):
Sam Gardner, JMP Statistical Discovery LLC
JMP VERSION:
Built with JMP 17.0 and tested with JMP 16.2
PURPOSE:
To allow the user to be able to easily subset and see rows that are selected or excluded or hidden, OR unselected or unexcluded or unhidden
SPECIFICATION:
Views of the desired subset of the current data table are created using linked subsets and data box views within a report window. Upon selecting an option, an invisible linked
subset of the desired rows to view is created, and then a new data view in a data box is displayed in the scripted report window.
USAGE:
Must be run with a data table open.
Upon running, choose the subset of the rows to view by selecting the check boxes. Note that this current version
only allows subsetting based in Selected/Excluded/Hidden or Unselected/Unexcluded/Unhidden
ASSUMPTIONS: None.
SCRIPT REVISION HISTORY:
VERSION DATE DESCRIPTION
1.0 2022 Dec 14 First Version
NOTES:
N/A
TO DO:
N/A
FUTURE IMPROVEMENT IDEAS:
None at this time.
***************************************************/
Names Default To Here( 1 );
dt = Current Data Table();
// function definitions
/*
// Loc Inverse Function
// This function converts a vector of positive integers (locvals) into an
// indicator vector of a specified length, n, with the values
// v[I] = 1 if I is in locvals, and 0 otherwise
// example
// Loc Inverse(6, [1,3])
// returns
// [1, 0, 1, 0, 0, 0]
*/
Loc Inverse = Function( {n, locvals},
v = J( n, 1, 0 );
v[locvals] = 1;
v;
);
Loc Inverse( 6, [1, 3] );
/*
// this gets the indicators of selected rows in the data table
LocInverse( N Rows( dt ), dt << Get Selected Rows );
// this gets the indicators of the excluded rows in the data table
Loc Inverse( N Rows( dt ), dt << GetExcludedRows );
// this gets the indicators of the hidden rows in the data table
Loc Inverse( N Rows( dt ), dt << GetHiddenRows );
*/
nw = New Window( "Row Selector Viewer",
<<ON close=""> 0,
For( i = 1, i <= N Items( viewchoice ), i++,
RowstoView = RowstoView | Match( viewchoice[i],
"Selected",
cbright << Set All( 0, run script( 0 ) );
Loc Inverse( N Rows( dt ), dt << Get Selected Rows );,
"Excluded",
cbright << Set All( 0, run script( 0 ) );
Loc Inverse( N Rows( dt ), dt << Get Excluded Rows );,
"Hidden",
cbright << Set All( 0, run script( 0 ) );
Loc Inverse( N Rows( dt ), dt << Get Hidden Rows );
)
);
RowstoView = Loc( RowstoView );
Print( RowstoView );
,
RowstoView = 1 :: N Rows( dt );
Print( RowstoView );
);
If( !Is Empty( dt_sub ),
Close( dt_sub, nosave );
Clear Symbols( dt_sub );
);
selectedrows = dt << get selected rows;
dt << clear select;
dt << select rows( RowstoView );
dt_sub = dt << Subset( Output Table( "Data View" ), Selected Rows( 1 ), Selected Columns Only( 0 ), Linked, Private );
dt << clear select;
dt << select rows( selectedrows );
pbright << Append( dt_sub << new data box() );
),
cbright = Check Box(
{"Unselected", "Unexcluded", "Unhidden"},
viewchoice = cbright << get selected;
RowstoView = J( N Rows( dt ), 1, 1 );
If( N Items( viewchoice ) > 0,
For( i = 1, i <= N Items( viewchoice ), i++,
RowstoView = RowstoView & Match( viewchoice[i],
"Unselected",
cbleft << Set All( 0, run script( 0 ) );
!(Loc Inverse( N Rows( dt ), dt << Get Selected Rows ));,
"Unexcluded",
cbleft << Set All( 0, run script( 0 ) );
!(Loc Inverse( N Rows( dt ), dt << Get Excluded Rows ));,
"Unhidden",
cbleft << Set All( 0, run script( 0 ) );
!(Loc Inverse( N Rows( dt ), dt << Get Hidden Rows ));
)
);
RowstoView = Loc( RowstoView );
Print( RowstoView );
,
RowstoView = 1 :: N Rows( dt );
Print( RowstoView );
);
If( !Is Empty( dt_sub ),
Close( dt_sub, nosave );
Clear Symbols( dt_sub );
);
selectedrows = dt << get selected rows;
dt << clear select;
dt << select rows( RowstoView );
dt_sub = dt << Subset( Output Table( "Data View" ), Selected Rows( 1 ), Selected Columns Only( 0 ), Linked, Private );
dt << clear select;
dt << select rows( selectedrows );
pbright << Append( dt_sub << new data box() );
)
)
),
Button Box( "Close Viewer", nw << close window )
),
pbright = Panel Box( "Data View", )
)
);
dt_sub = dt << Subset( All Rows, Selected Columns Only, Linked, Private );
pbright << Append( dt_sub << new data box() );
</ON>
Ri: il DataView più importante? Righe NON escluse!Ho trovato questo nella posta in uscita - non so se l'ho postato da qualche altra parte?
Nello stesso contesto, consenti anche all'utente di inviare
dt << Get nonExcluded Rows();
a una tabella di dati:
https://community.jmp.com/t5/Discussions/col-lt-lt-get-values-for-non-excluded-rows/mp/556579/highlight/true#M77051
il comando fastes a riga singola per questo importante pezzo di codice è ~ fattore 10 più lento:
allRows = dt << get rows where( Excluded() == 0 );
E prima chiedere le righe non escluse e poi "invertire" l'elenco aggiunge ~ 30% al budget temporale
Ri: il DataView più importante? Righe NON escluse!@SamGardner .
Grazie per il codice - menu davvero carini.
dovrebbe assolutamente andare al menu Sottoinsieme di Jmp 18 
Potremmo chiedere @giuliano se vuole aggiungerlo anche al componente aggiuntivo del sottoinsieme dinamico 
Per quanto riguarda il mio post qui, in realtà ho pensato a qualcosa di molto più piccolo - solo per aggiungere un'opzione per le righe non escluse al menu in basso a sinistra di una tabella di dati.
Ad essere onesti, sono già così abituato a selezionare le righe escluse e poi a invertire la selezione - direi che una tale funzionalità arriva sarebbe arrivata troppo tardi per me.
Ma come molti dei miei post, gli auguri non sono principalmente per me stesso, ma più per i miei colleghi... e per tutti gli altri utenti della community 

Ri: il DataView più importante? Righe NON escluse!Hm, che ne dici di:
- non aggiungere "non esclusi" alla tabella riepilogativa
- ma aggiungi Seleziona non escluso al menu contestuale del clic destro di Escluso

ci sono utenti che usano il nascosto funzionalità?
quindi aggiungi un'opzione simile a selezionare non nascosto righe
Re: il DataView più importante? Righe NON escluse!Con l'introduzione della barra degli strumenti QuickSelect tutto è diventato un po' più semplice:

Il conteggio dei clic è stato ridotto da
- seleziona le righe escluse (2 click)
- inverti selezione (righe - selezione riga - inverti selezione riga = 3 clic)
- visualizzazione dati per righe selezionate (2 clic)
➜ 7 clic
A
- seleziona le righe escluse (2 click)
- inverti (1 clic)
- visualizzazione dei dati per le righe selezionate (2 clic) con la nuova barra degli strumenti di selezione rapida: 1 clic
➜ 5 4 clic
Veduta:
con non esclusi aggiunti al menù in basso a sinistra, basteranno 2 click

il DataView più importante? Righe NON escluse!☐ nuova fantastica funzionalità
☑ potrebbe aiutare molti utenti!
☐ rimuove un "bug"
☐ bello averlo
☐ nessuno ne ha bisogno
La tabella di riepilogo delle righe in basso a sinistra di una tabella è molto utile per ottenere DataView (sottoinsiemi) per le righe selezionate , le righe escluse e così via.
La visualizzazione dei dati
Sfortunatamente, nel mio lavoro quotidiano è molto più spesso necessario un sottoinsieme di righe non escluse che di righe escluse.
Quindi, vado:
1) 
2) 
3)

il mio desiderio: una voce aggiuntiva per le righe non escluse ,
come questo

e da questo: l'opportunità di generare un DataView per righe non escluse.
Ulteriori vantaggi:
È possibile vedere direttamente il numero di righe effettivamente utilizzate (= non escluse) e non è necessario calcolarlo (tutte le righe - escluse)
altri desideri inviati da 
Combinazione e pulizia dei datiEsplorazione e visualizzazione dei datiCondivisione e comunicazione dei risultatiRe: il DataView più importante? Righe NON escluse!grazie per
dove(non(escluso));
https://community.jmp.com/t5/Discussions/col-lt-lt-get-values-for-non-excluded-rows/mp/619448/highlight/true#M81887
Re: la DataView più importante? Le righe NON escluse!@Sarah-Sylvestre
con tutte queste opzioni disponibili, dal mio punto di vista l'argomento può essere chiuso.
Ci sono altre voci molto più importanti nella lista dei desideri.
Re: il DataView più importante? Righe NON escluse! - Stato modificato in: ArchiviatoGrazie per l'aggiornamento @hogi !