Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{anchor:top}

h2. Overview概要

{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
The data conversion facility within Yellowfin allows you to transform data after it has come back from the database. For example you may wish to convert a currency value which is stored in the database from a full currency value to a ('000) where the value is divided by 1000.  This transformation can be achieved using the data conversion.
# Drag the field that you wish to apply the conversion to into the report builder field section.
# As with the advanced function select the field and click the advanced function button to open the advanced function popup.  
# Choose the 'Data Conversion' tab.  This will provide you with the interface to use to select the conversion you wish to apply.
# Choose the aggregation appropriate for you conversion
# Click 'add' to apply a conversion - this will present you with a list of possible conversions for the data type you have selected.  Yellowfinに組み込まれているデータ変換機能で、データベースから返されたデータを変換することができます。このデータ変換は、たとえばデータベースに格納されている通貨価格を、全桁の通過価格から1000で除算した('000形式の)通過価格に変換する場合に使用することができます。

# 変換を適用するフィールドをレポートビルダーのフィールドセクションにドラッグします。
# 高度な関数と同様に、フィールドを選択してから「高度な関数」ボタンをクリックして、高度な関数のウインドウを開きます。
# 「データ変換」タブを選択します。適用する変換の種類を選択するインターフェースが表示されます。
# 変換に適した集約を選択します。
# 「追加」をクリックします。これで、選択したデータタイプに使用可能な変換の一覧が表示されます。Yellowfinには、Java date converterとNumeric divide convertor(1000で除算することができるなど)の、2種類のコンバーターが組み込まれています。 Yellowfin comes with a java date converter and a Numeric divide convertor (This lets you divide a value by 1000's etc).
!164.png|thumbnail,border=1!
# Follow the on screen instructions for the convertor and click save.画面に表示されるコンバーターの指示に従って操作し、「保存」をクリックします。
!165.png|thumbnail,border=1!
# Note that you can add multiple convertors to a data type if required by clicking the add link and creating a new type.
注意:必要に応じて、「追加」をクリックして新しいタイプを作成すれば、複数のコンバーターをデータタイプに追加することができます。
!167.png|thumbnail,border=1!

\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}