cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

no aggregation in custom views for scores possible

chholzermsg
Participant
0 Likes
605

Hi,

to calculate a score for contacts, I want to filter specific interactions and aggregate a custom attribute of them (i.e. sum them up).

So I thought I could create a custom view for this with an aggregation node. But when I try to import this view into the SAP Marketing Cloud, I get the error message that "Aggregation type view cannot be imported". This has to be a problem specific to scores, because, when I import the same view for segmentation, I do not get this error message.

So is there a workaround for this problem?

P.S.: I have the same issue if I use the view as describe https://blogs.sap.com/2020/11/16/building-custom-sap-hana-view-for-sap-marketing-cloud-to-segment-cu.... (besides the message that IP_JOIN_SET_ID is missing)

Accepted Solutions (0)

Answers (1)

Answers (1)

chholzermsg
Participant
0 Likes

Hi abdullah.amerk,

I have tried this already - but no change regarding the aggregation erroe message. I now use the view in segmentation - as a workaround.

Regards

Christian

Abd_Am_K
Active Participant
0 Likes

Hi chholzer_msg,

I think you are creating an analytical Cube as the hana view type. It should be dimension instead. If you open your view in notepad and search for outputviewType, you will notice that it is an aggregation.

I hope this helps.

chholzermsg
Participant
0 Likes

Hi abdullah.amerk,

correct outputviewType is "aggregation".

What should it be?

Regards

Christian

Abd_Am_K
Active Participant

Hi chholzer_msg ,

When you create a view of the type Cube, the output view type is then Aggregation. I Think you have to create a view of the type Dimension. This way the outputviewtype will be Projection at the end. Also remember to add the IP_JOIN_SET_ID parameter. Its an empty parameter of the type nvarchar and length 32 with no default value. It can be created at any level in the view.

Thanks.