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>

 

 

...