Forum Discussion

anonymous0909's avatar
anonymous0909
New Member
11 months ago
Solved

Power bi Semantic model issue

Hi, I created and published a report in power bi service that created a semantic model, this model is connected to MySQL database, I configured the connected with a gateway and everything seems to b...
  • tayloramy's avatar
    11 months ago

    Hi anonymous0909,

    That error message shows the report is trying to connect to the upstream semantic model through the Analysis Services endpoint (powerbi://...). Because your new report also added a second source, it became a composite model that DirectQuery-connects to the first semantic model plus another source. When the upstream connection fails at publish/open, it is usually one of four things: missing Build permission on the upstream model, a tenant setting blocking DirectQuery-to-semantic-models, the source model discouraging chaining, or missing credentials/gateway on the added source.

     

    Fix it with this checklist:

    1. Grant Build on the upstream semantic model to whoever publishes/owns the new report (and any service principal you use). Without Build, the composite model cannot query the source dataset across workspaces. See composite models permissions and Build permission. For consumers, licensing and permission requirements are also outlined here: permissions update for composite models.
    2. Confirm the tenant setting allows DirectQuery to Power BI semantic models. In the Admin portal, turn on Allow DirectQuery connections to Power BI semantic models. If disabled, connections to a published semantic model as a source will fail. Doc: Admin setting.
    3. Make sure the source semantic model does not discourage chaining. If the source model was published with the option to discourage DirectQuery connections, new composite connections are blocked. Clear that option and republish the source if needed. Doc: Discourage DirectQuery connections setting.
    4. Set credentials/gateway for the added data source in the target workspace. After publishing the new report and its semantic model, go to Manage connections and gateways and configure credentials for the additional source (your original MySQL gateway stays with the first semantic model). Docs: Manage gateway data sources.
    5. Republish and test. In Desktop, open the composite model, confirm the connection to the upstream semantic model under Get Data > Power BI semantic models, then Publish. The upstream visuals should now load.

    Why the message mentions analysis-services: the upstream semantic model is exposed via the XMLA/Analysis Services endpoint. If Build or the tenant switch is missing, the handshake to that endpoint fails and you see the generic connection error. The docs above cover those prerequisites: composite models, Build permission, and the tenant setting.

     

    If you found this helpful, consider giving some Kudos.
    If I answered your question or solved your problem, mark this post as the solution.