Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
chriswragge
Helper I
Helper I

Adobe Analytics connector with Calculated Metrics from multiple report suites

H there,

 

I am trying to get data from multiple report suites with some looping code. I have a Calcualated Metric that I can access when I pull directly from the report suite it was saved under, but not from other report suites.

 

For example, the below code works when I have the source to be reportsuite1, but not when I use reportsuite2

 

{Cube.AddMeasureColumn, "Visits_Calculated", "cm300000555_5b8db57559161d5923cac59b"},    

Is this a limitation of the Adobe Analytics Connector or am I doing something wrong? When using report builder, the api works fine with my required pull, so I assume this is not a technical limitation on Adobe's part...

1 ACCEPTED SOLUTION
chriswragge
Helper I
Helper I

Found the error. I needed to be more explicit in my call.

 

This:

    Source = AdobeAnalytics.Cubes(),
    reportsuite= Source{[Id="myreportsuite)]}[Data],
    #"Added Items" = Cube.Transform(reportsuite,

Need to be:

    Source = AdobeAnalytics.Cubes([HierarchicalNavigation=true]),
    #"MyCompany" = Source{[Name="MyCompany"]}[Data],
    reportsuite= #"MyCompany"{[Id="myreportsuite"]}[Data],
    #"Added Items" = Cube.Transform(reportsuite,

View solution in original post

1 REPLY 1
chriswragge
Helper I
Helper I

Found the error. I needed to be more explicit in my call.

 

This:

    Source = AdobeAnalytics.Cubes(),
    reportsuite= Source{[Id="myreportsuite)]}[Data],
    #"Added Items" = Cube.Transform(reportsuite,

Need to be:

    Source = AdobeAnalytics.Cubes([HierarchicalNavigation=true]),
    #"MyCompany" = Source{[Name="MyCompany"]}[Data],
    reportsuite= #"MyCompany"{[Id="myreportsuite"]}[Data],
    #"Added Items" = Cube.Transform(reportsuite,

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.