0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【CRM Analyticsグラフ】4月から始まるグラフの作成

Posted at

レシピの加工

  1. レシピで変換ノードのカスタム数式で関数month()を利用し、月分を抽出します。
    image.png

image.png

image.png

2.カスタム数式を再度利用して、月分の数値を変更します。
以下の通り、月分が1-3の場合は、12を加算します。
※「month」はステップ1で作成した項目のAPI名です。

	when "month"<4 
	then 
	"month" + 12
	else
	"month"
end

image.png

3.データセットを出力します。
※元のデータセットを置き換える場合は、名前とAPI名を元のデータセットと同じにします。
image.png

グラフの設定

  1. 作りたいグラフ種類を選択してください。

例として、縦棒グラフを作成してみます。
棒の長さには、先ほどのステップ2で作成した月次ランクの項目の平均値を選択してください。
さらに、昇順に設定し、月分が4月から始まるようにします。

image.png

  1. ランク列を非表示にします。
    image.png

これで、4月から始まるグラフが完成しました!
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?