Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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...
Solved! Go to Solution.
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,
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,
User | Count |
---|---|
94 | |
83 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
62 |