このレッスンは現在日本語に翻訳中です。いまはEnglish版を表示しています。翻訳に協力する

0%

コンテンツへスキップ

Filtering and live reports

中級~35 分0/4 ステップ

Derive a report from the ledger

A report should be derived from source data every time—not maintained as a second, conflicting copy. The selected category determines a filtered view; reduce produces the KPIs; sort makes the audit table predictable.

The practice dataset is visibly labeled. Replace it with your own entries after the exercise.

手順

1

Create getVisibleTransactions using filter and selectedCategory.

ヒント: Keep every item when selectedCategory is all.

どこに書けばいい?

// Build getVisibleTransactions(), calculateReport(), and renderReport().

9 行目に書きましょう — そのコメントの下、すでに書いたコードの後ろです。

2

Sort visible rows by date without changing the source array.

3

Create calculateReport(items) with reduce.

4

Listen for filter changes and render the report again.

あなたのコード

html
9 行
1
2
3
4
5
6
7
8
9

ライブプレビュー

ライブプレビュー

次のプロジェクトは Builder で作りましょう

エージェントを作って、実際の仕事を自動化してみませんか?Builder では Agent Builder と Claude × Excel のコース全体、Studio の Build Credits、Build Blueprint を利用できます。無料の基礎レッスンは引き続きご利用いただけます。

  • 毎月 500 の Studio Build Credits
  • Build Blueprint:どんなアイデアも明確な仕様書に。AI エージェントにそのまま渡せます
  • ほかのフルコースの全レッスン

月 $19

新規サブスクリプションは14日以内なら全額返金。いつでもキャンセルできます。

お支払いページは決済代行会社の Lemon Squeezy が運営しています。読めない言語で開いた場合は、ページ上部の言語メニューで切り替えてください。

料金を見る

Builder には他社の AI ツールのサブスクリプションは含まれません。必要なレッスンでは最初にお知らせします。