Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

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

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

  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans