Forum Discussion

Blackjack's avatar
Blackjack
Icon for Advocate I rankAdvocate I
9 years ago

Error 'Couldn't load the data for this visual' w/ Measures from DirectQuery for SAP BW BEX Query

Greetings, 

 

I'm having trouble loading my report measures when using DirectQuery for SAP BW on Power BI cloud service.
Here is the error message:

"Couldn't load the data for this visual

 
MdxScript(Model) (5, 42) Cannot find data source '' in function 'EXTERNALEXPRESSION'.
Please try again later or contact support. If you contact support, please provide these details.

 

Activity IDba46f5a8-2e0e-40a5-99c8-3849f2baaaab
Request IDec00dc39-9f95-5c3c-e6ee-5e4e95fb06aa
Correlation ID0c939e55-b820-03e1-3024-c14d1d51cb13
Version13.0.1781.239"

Some facts: 

 - I'm loading dimensions and measures (key figures) from SAP BW Query perfectly well in Power BI Desktop;

- The issue happens only with Measures on the Power Bi Service after publishing the report;

- Dimensions and Hierarchies are loading seamlessly on Power BI service;  
- The Data Gateway is up and running;
- I've tried to convert the measures into currency format, but to no avail;

Has anyone run into the same problem using DirectQuery (beta) and Data Gateway connecting to a SAP BW Query?

Thanks! 

12 Replies

  • v-huizhn-msft's avatar
    v-huizhn-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Blackjack,

    In your gateway, please confirm if you have added the data resouce? And please try get data from other resouce, add data resouce and publish it to service, check if it works fine. If it won't, many the error is caused by your data gateway.

    Best Regards,
    Angelia

    • Anonymous's avatar
      Anonymous
      Not applicable

      HI,

      I have the same problem. 

      When trying to solve the prolbem I did some:

      - upgrade On-Premise Gateway on last version,

      - check data source setting on Power BI, test it (test show that everything is OK)

      - do the new publishing of report, 

       

      Problem is still here:

      ... MdxScript(Model) (47, 32) Cannot find data source '' in function 'EXTERNALEXPRESSION'  ....

       

      Any Solutions?

       

      Best Regards!

      Neno

      • v-huizhn-msft's avatar
        v-huizhn-msft
        Icon for Microsoft Employee rankMicrosoft Employee

        Hi All,

        There are some limitations in DirectQuery for SAP Business Warehouse (BW). For example, it is not possible to use an aggregate function over a table. More details, please review the limitations in this article. Please check if your report use the corresponding features.

        Best Regards,
        Angelia

    • Blackjack's avatar
      Blackjack
      Icon for Advocate I rankAdvocate I

      Hi v-huizhn-msft (Angelia), 

      Data resource in Data Gateway has been setup correctly. I can see all the dimensions from the model, the issue only happens with the measures once the report is published on Power BI Service.

      Thank you.

       

      BlackJack  

      • pankajmehta15's avatar
        pankajmehta15
        Frequent Visitor

        Hi Guys

        I'm also having the same issue, any luck so far .. will appreciate any sort of help.

         

        Rgds

        Pankaj

  • v-huizhn-msft's avatar
    v-huizhn-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi @ALL,

    There is a feature request, please review and vote it.

    Best Regards,
    Angelia