次の例でパーセンテージを見つけようとしています
START n=node:name_idx(NAME="ABC")
match p = n-[r1:LIKES]->m
with r1.Frequency as Frequency, Sum(r1.Frequency) as Sum
return Frequency, Sum
私はこのようなものを得ることを望んでいました
Frequency Sum
12 19
6 19
1 19
など。
私が得るのは、頻度列と合計列で同じ値です
Frequency Sum
12 12
6 6
1 1
正しい分布を取得する方法はありますか? 私の最終的な目標は、行を返すリーチの頻度/合計を割ってパーセンテージを見つけることです。ありがとう