Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

Table of Contents
classcontents

Overview

In order to ensure that User Prompt filter value selection is as easy as possible for the user, it's a good idea to cache your filters, creating lists, rather than prompting them to enter values manually. It's also helpful to create dependencies between filters that are related.

For example, if you have a Product Type and Product Code filter, making the Product Code dependent on Product Type will allow the user to nominate a type, and only see the products that belong to that type, rather than the whole list.

Setup

  1. Add the required filters to your report
    1. Make sure the filters are listed in order of dependency; this will make it clearer to the user.
    2. Leave the filters as User Prompt so they are available for the user.
      Image Removed
      In this example, we've used the Camp Region, Camp Country, and Camp Name as filters, all set to In List in order to allow the user to select multiple values if required.
  2. Cache the top level filter of the dependency structure
    1. On the Data or Output step, click on the Filter Formatting menu at the top of the menu ribbon.
    2. Select the top level filter from the drop down list provided.
    3. Open the Entry Style menu, set the Entry Type to Value List Selection, and the values to be Cached Values.
    4. Click Refresh Now to generate a list of values for the filter.
      Image Removed
  3. Set the second level filter to be dependent on the top.
    1. While in the Filter Formatting menu, select the second level filter from the filters list on the left.
    2. Open the Display menu and set the Display Dependent On value to the top level filter.
      Image Removed
  4. Cache the second level filter as before
    1. Repeat step 2 instructions for this filter
      Image Removed
      Note: when the dependency and caching is set up correctly, the second filter will be hidden until a value for the first filter has been selected. Each time values for the first filter are changed, the second filter value list should be refreshed.
  5. Set the dependency for remaining levels
    1. For each of the remaining filter levels, you will need set the dependency to the filter level directly above it, and then cache the filter.
      Image Removed
      Image Removed
      Once you've completed these steps, you should have filters available on your report that should display once the level above has a selection, and should refresh when that selection is changed.

Use

...

概要

ユーザープロンプトフィルター値の選択をユーザーにとってできるだけ簡単なものにするには、手動で値を入力するように求めるのではなく、フィルターをキャッシュして一覧を作成するのが賢明です。また、関連するフィルター間の従属関係を作成しておくと役立ちます。

たとえば、Product TypeProduct Codeというフィルターがある場合、Product CodeをProduct Typeに従属させると、ユーザーがタイプを指定したときに、全部の一覧ではなく、そのタイプに属する製品のみを表示できます。

設定

  1. 必要なフィルターをレポートに追加します。
    1. フィルターが従属関係にしたがって表示されていることを確認します。これにより、ユーザーがより理解しやすいものになります。
    2. ユーザーがフィルターを使用できるように、「ユーザープロンプト」のままにします。
      Image Added
      この例では、「Camp Region」、「Camp Country」、「Camp Name」がフィルターとして使用され、必要に応じてユーザーが複数の値を選択できるように、「一覧に含む」にすべて設定されています。
  2. 従属関係構造の第1レベルのフィルターをキャッシュします。
    1. データ」ステップまたは「表示」ステップで、メニューリボンの上部にある「フィルターの書式」メニューをクリックします。
    2. 表示されたドロップダウンメニューから第1レベルのフィルターを選択します。
    3. 入力スタイル」メニューを開き、入力タイプを「一覧から値を選択」に設定して、値を「キャッシュされた値」に設定します。
    4. 今すぐ更新」をクリックし、フィルター値の一覧を生成します。
      Image Added
  3. 第2レベルのフィルターが第1レベルに従属するように設定します。
    1. フィルターの書式」メニューで、左側にある「フィルター」一覧から第2レベルのフィルターを選択します。
    2. 表示」メニューを開き、「従属先を表示」の値を第1レベルのフィルターに設定します。
      Image Added
  4. 前と同様に、第2レベルのフィルターをキャッシュします。
    1. このフィルターに対してステップ2の手順を繰り返します。
      Image Added
      注意:従属関係とキャッシュが正しく設定されると、第1レベルのフィルターの値が選択されるまで、第2レベルのフィルターは非表示になります。第1レベルフィルターの値が変更されるたびに、第2レベルフィルターの値の一覧が更新されます。
  5. 残りのレベルについても従属関係を設定します。
    1. 残りの各フィルターレベルで、そのすぐ上のフィルターレベルへの従属関係を設定してから、そのフィルターをキャッシュする必要があります。
      Image Added
      Image Added
      これらのステップを完了すると、レポートでフィルターが使用可能になり、それらのフィルターは上位レベルのフィルターが選択されると表示され、その選択が変更されると更新されます。

用途

この例では、地域に「Europe」を選択すると、データベース内にレコードが存在する国が、第2レベルのフィルターに表示されています。
Image Added
次に、国に「Germany」を選択すると、ドイツ内のすべてのサイトが表示されます。
Image Added
最終的に、ユーザーは表示するサイトを定義して、フィルターを適用します。