Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

AX2012 R2 - Powerview not working. (Report datasource %1 was not found)

(0) ShareShare
ReportReport
Posted on by 1,085

Hi,

i'm trying to use powerview on PurchTableListPage.

I get an infolog which say that "report datasource accounts payable cube was not found".

What can be the problem?

I already deployed the default cubes with SQL Server Analysis Services project wizard.

When i try to process the analysis server DB on SQL Management Studio i get some duplicate key errors. Can it be the cause?

thank you in advance

regards

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX2012 R2 - Powerview not working. (Report datasource %1 was not found)

    Hello,

    The reason why you have this problem ("Report data source %1 was not found") is because Internal URL for Enterprise Portal site

    Please see explanation how to fix this problem below ...

    For example, on Demo VM PowerView reports and data sources are in "Power View Reports" on "Microsoft Dynamics AX Enterprise Portal" Web site

    When you click "Analyze Data" button on particular List page in AX the system will programmatically compose the URL like this: dynamicsax.contoso.com/.../Accounts%20payable%20cube.rsds and launch web browser so you can continue with PowerView Design experience based on cube (cube name) required

    The basis for this URL will be Internal URL for Enterprise Portal site

    Now let's imagine that your Internal URL for Enterprise Portal site is set to "dynamicsax.contoso.com/.../DynamicsAx

    Because of the code Classes\SrsReportHelper\Methods\getPowerViewDataSourceUrlClient

    siteUrl = siteUrl + “/”;

    the system will try to add a slash at the end of it and then pass it further down to another method to compose the final URL. However URL dynamicsax.contoso.com/.../DynamicsAx (with slash at the end) is already erroneous. And if you launch it by itself in web browser you will get "You cannot view data on this page because you are not a registered user in Microsoft Dynamics AX. Contact your Microsoft Dynamics AX administrator." error

    When exception occurs during URL composition the system sets the URL to empty string and you see "Report data source %1 was not found"

    Thus in order to fix the problem please change Internal URL for Enterprise Portal site to dynamicsax.contoso.com/.../DynamicsAx, the system then will add slash at the end and successfully compose URL for PowerView

    Enjoy!

    /Alex

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans