Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Using formula macros helps you to expand the capabilities of your Reports and Dashboards, allowing you to add extra functionality or include dynamic content. For example, display current date, display table with custom style sheet or display custom content inside email body.

Formula macro syntax

Note

Switch to HTML mode before adding new macro.

 

Formulas can be executed with syntax as follows: 

{formula}formula content{formula}

Formula content replace with formula that you want to execute inside content.

Formula macro use cases

Displaying current date

{formula}actualDate(){formula}

Displaying indicator value

{formula}M_INDICATOR{formula}

Displaying variable

 {formula}@variable_code{formula}

Displaying custom table

You can also use formula macros to create custom tables like table below. Example of code how to create such a table can be downloaded from here.

 

HTML
<iframe style="border: 1px solid silver;width:600px;height:400px;" src="https://service.belladati.com/en/bi/report/view/embedded/0b92fbc727af27574d1b0fcf9df901fe"></iframe>

 

 


Sv translation
languageja

数式マクロの使用はレポートやダッシュボードの能力を広げ、機能の追加やダイナミックな内容の含有を可能にします。例えば、現在の日付を表示、列スタイルシートで表を表示、メール内にカスタムコンテンツを表示する、などです。数式マクロを使用すると、レポートとダッシュボードの機能を拡張して、機能を追加したり、動的コンテンツを含めることができます。例えば、現在の日付を表示したり、カスタムスタイルシートで表を表示したり、メール本文内にカスタムコンテンツを表示したりします。

数式マクロ構文

Note

新規マクロを追加する前に新しいマクロを追加する前に、HTMLモードに切り替えてください。に切り替えます。

 

数式は以下のような構文で実行できます数式は以下の構文で実行できます:

{formula}formula content{formula}

数式内容は内容の中で実行したい数式に置き換わります。数式コンテンツは、コンテンツ内で実行する数式に置き換えられます。

数式マクロ使用例

数式マクロの使用例

現在の日付の表示

{formula}actualDate(){formula}

インジケータ値の表示

{formula}M_INDICATOR{formula}

変数の表示

 {formula}@variable_code{formula}

カスタム表の表示

数式マクロは以下の表のようなカスタム表の作成にも使用できます。数式マクロを使用して、以下の表のようなカスタムテーブルを作成することもできます。このようなテーブルを作成するコードの例は、ここでそのような表の作成に使えるコード例をダウンロードできます。からダウンロードできます。

 

HTML
<iframe style="border: 1px solid silver;width:600px;height:400px;" src="https://service.belladati.com/en/bi/report/view/embedded/0b92fbc727af27574d1b0fcf9df901fe"></iframe>

 

 

...