0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PowerApps 2000件以上のデータを取得したい場合

Last updated at Posted at 2024-11-19

データ件数を4000件以下の場合

image13.png

// Concurrent で前半、後半取得を同時実行
Concurrent(
    // 前半のデータを取れるだけ取得
    ClearCollect(
        col_datalistChunk1,
        Sort(
            datalist,
            ID,
            SortOrder.Ascending
        )
    ),
    // 後半のデータを取れるだけ取得
    ClearCollect(
        col_datalistChunk2,
        Sort(
            datalist,
            ID,
            SortOrder.Descending
        )
    )
);
// ClearCollect は複数のレコードまたはテーブルを指定可能
ClearCollect(
    col_datalist2,// ギャラリーのデータソース
    col_datalistChunk1,// 前半のデータ
    Filter(// 後半のデータから前半のデータを除外
        col_datalistChunk2,
        Not(ID in col_datalistChunk1.ID)
    )
);
Clear(col_datalistChunk1);
Clear(col_datalistChunk2);

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?