如何計算 Tabulate() 產生的行數?我有一個如下形式的 JSL,用於使用 Tabulate () 產生表格。如何計算表中的行數?
請注意,行數隨我在本機資料篩選器 () 中選擇的內容而變化,且行數需要根據我的篩選器選擇進行更新。
Tabulate(
Add Table(
Column Table( Grouping Columns( :Parameter1 ) ),
Row Table( Grouping Columns( :Wafer ) )
),
Local Data Filter(
Conditional,
Add Filter(
// my filter selection goes here
)
)
);
自動化和腳本編寫視窗回覆:如何計算 Tabulate() 產生的行數?你可以使用make 進入資料表
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
table = dt << Tabulate( Add Table( Row Table( Grouping Columns( :sex ) ) ) );
tabulateTable = table << Make Into Data Table;
count = N Rows( tabulateTable );
Close( tabulateTable, noSave );
count
回覆:如何計算 Tabulate() 產生的行數?@hogi謝謝,但是當資料過濾器選擇更改時,計數不會動態更改,不是嗎?
回覆:如何計算 Tabulate() 產生的行數?您可以向視窗新增一個按鈕 - 並點擊以計算行數。
或自動計算數字,由資料過濾器的狀態處理程序觸發。