활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi Everyone,
Can someone please help me to understand from where I can find the code/logic behind "Distribution of values" option we have in query activity
조회 수
답글
좋아요 수
Hi Kapil,
This are usually all created using Input forms. You can find the code behind that in there. Go from Administration > Configuration > Input forms and search for Distribution of values form.
Thanks,
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
Hello @kapilKochar
In the backend the query is using GroupBy in the queryDef.
You can achieve the same result by adding groupBy attribute in your queryDef code.
Here is the same code:
select: {node:[ {alias: '@expr', expr: field, groupBy: 'true', noSqlBind: 'true'}, {alias: '@count', expr: 'COUNT()', label: 'Count'}, ]},
Let me know if that helps.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
조회 수
Likes
답글