Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am using the Adobe Analytics connector for one of my reports. One of my 'Dimensions' is called 'Websites' and the data is a URL, we look at over 100 websites and I am looking at the traffic for each one. When I use the Websites dimension it only displays 10 of the sites. Is there a way I can add a line of code in the advanced query editor to remove this limit?
Solved! Go to Solution.
You'll want to use the Top parameter with your dimensions. You can get up to 50,000 dimension values per call.
{Cube.ApplyParameter, "Top", {10000, "evar123"}}, {Cube.ApplyParameter, "Top", {1000, "evar234"}},
If you open the log for the Report Builder, you should see which elements are using "top" in the json of the reportDefinition:
... , "elements": [ { "id": "evar123", "top": 10000, "startingWith": 1 } ], ...
Hi @Anonymous ,
The Adobe connector in Power BI Desktop relies on the Adobe Analytics Report API to return tables.
The above issues may be caused by that there are limitations in Adobe Analytics Report API and data may also be sampled in the API, please consult Adobe Analytics support.
Best Regards,
Cherry
Thanks for the response.
This isn't an Adobe issue, this is Power BI. Adobe report builder allows me to pull in data in the correct way which also references the API, I am looking for a specific piece of DAX which highlights the option.
You'll want to use the Top parameter with your dimensions. You can get up to 50,000 dimension values per call.
{Cube.ApplyParameter, "Top", {10000, "evar123"}}, {Cube.ApplyParameter, "Top", {1000, "evar234"}},
If you open the log for the Report Builder, you should see which elements are using "top" in the json of the reportDefinition:
... , "elements": [ { "id": "evar123", "top": 10000, "startingWith": 1 } ], ...
@jeffshieldsdev Thank you for this fantastic tip. It really helps. I was looking to import the page dimension and by default I was getting 10 values back by date..but now I can expand this to higher limits.
Could you please share any relevant documentation where you got this information. I would like to understand better about 50,000 dimension values. Also, where were you able to find that by default it gives top 10 values. Any help would be appreciated. Thanks.
It's a bit buried.
The connector uses Adobe's Analytics 1.4 API. The Reporting API has a Report.Queue method it uses, and POSTs this reportDescription in the body. The reportDescriptionElement in the reportDescription has the "top" parameter.
In a few reports, I've used the API and Postman to download historical data (2017,2018,2019) to .JSON files I store in OneDrive, and then only use the connector in the report to get "live" data (2020 forward). I merge these together into one table in the Query Editor.
In the following example you gave:
{Cube.ApplyParameter, "Top", {10000, "evar123"}},
what is the top 10000 based on? Is it the top 10000 based on evar123? Is it the top 10000 alphabetically? And what happens if I change evar123 to "null"?
Thanks!
Yes, it's saying "return the top 10,000 evar123 values". You can return up to 50,000 values. Without specifying a Top, the default of 10 values will be returned.
I believe the order is based on the first measure, if no measure is used it will probably be page views or occurances--not sure though.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
94 | |
88 | |
32 | |
32 |
User | Count |
---|---|
153 | |
101 | |
82 | |
63 | |
52 |