Dear Community,
I'd like to make a OLAP table that have Activity count and Connection count.
Is there any way to make this OLAP table?
Thank you.
Best regards,
Takayoshi Ichikawa
Dear Community,
I'd like to make a OLAP table that have Activity count and Connection count.
Is there any way to make this OLAP table?
Thank you.
Best regards,
Takayoshi Ichikawa
Best answer by david.beche12
Hi @takayoshi.ichik ,
I assume you already have the OLAP table with the connections using SOURCE/TARGET.
You should be able to add the "Source Activity Count" using a PU_COUNT together with DOMAIN_TABLE. It would look like this:
PU_COUNT(DOMAIN_TABLE(SOURCE("Activities"."Activity")), SOURCE("Activities"."Activity"))
The "Target Activity Count" can be calculated accordingly:
PU_COUNT(DOMAIN_TABLE(TARGET("Activities"."Activity")), TARGET("Activities"."Activity"))
Hope this helps!
Best,
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.