Dataset refresh error on Power BI service between on-premises and Azure SQL Db source

  • Dataset refresh error on Power BI service between on-premises and Azure SQL Db source

    Posted by Unknown Member on June 16, 2020 at 2:01 pm
    • Brian Wilson

      Member

      June 16, 2020 at 2:01 PM

      Searched the forums and either my search was off or somehow missed it, but here is the situation.

      We have a PowerBI report which gets data from two on-premises databases, and in one of those two queries it appends data from an Azure SQL DB.Ā  On the desktop, this works with no issues, but when published to the PowerBI service, the dataset won’t refresh.Ā  From there, it connects to two on-prem db’s using a gateway, and to Azure SQL directly.Ā  The error it gets is:

      Data source error{“error”:{“code”:”DM_GWPipeline_Gateway_MashupDataAccessError”,”pbi.error”:{“code”:”DM_GWPipeline_Gateway_MashupDataAccessError”,”parameters”:{},”details”:[],”exceptionCulprit”:1}}} Table: One Touch Action Register Template_InUse (Main).

      I’m inclined to think it is that the gateway is trying to pull the Azure db data to append, rather than passing it up and having it done on the service, but am not positive.

      If I transfer the Azure SQL data down to an on-premises db and then access through a gateway, it does work.Ā  The same is true if I push the on-premises data up to Azure SQL, so it only fails if I try to mash up.

      I do have a ticket open with support, and will update if I get anything through it.

      ——————————
      Brian Wilson
      Data Architect
      ——————————

    • Lutz Bendlin

      Member

      June 16, 2020 at 2:59 PM

      this seems to be a continuation of the wobbles we have seen over the last couple of weeks with sharepoint connections (mostly on-prem, but some SPO as well – equally inexplicable as your Azure source). Good luck with the ticket, please do update us on what they found.

      ——————————
      Lutz
      ——————————
      ——————————————-

    • James Walsh

      Member

      June 17, 2020 at 4:07 AM

      Hi
      Following as I’m also having issues mixing on prem SQL and cloud based data via a data gateway. Seems ok until the point where I merge two data sources in a single query. It’s very frustrating if you can’t do this, most of the excitement around PowerBI for my company is around the ability to combine data sources to get joined up reporting.
      James.

      ——————————
      James Walsh
      Isosceles Finance Limited
      Egham
      ——————————
      ——————————————-

    • Lutz Bendlin

      Member

      June 17, 2020 at 7:25 AM

      I think you are on to something here.
      This may be related to the new data privacy settings they recently implemented. Cross source scripting etc.

      ——————————
      Lutz
      ——————————
      ——————————————-

    • Rob Littler

      Member

      June 17, 2020 at 9:11 AM

      Hi Brian

      Combining two sets of data from different data sources at the query level isn’t particularly good practice; could you bring the data together in a different way? You could do this within Power Query or if you have large datasets and are worried about performance you could look to process the data in advance e.g. into a data warehouse and then use that as the source.

      Regards

      Rob

      ——————————
      Rob Littler
      BI Developer
      Warwick
      ——————————
      ——————————————-

    • Brian Wilson

      Member

      June 17, 2020 at 9:34 AM

      Hi Rob,

      I wholly agree on the advisability of combining data sets at the query level, although unfortunately staffing levels and deadlines sometimes lead us temporarily to sub-optimal solutions.Ā  Longer term, our plan is to combine in our data warehouse, but we’re in an ERP transition, and this particular reporting requirement was missed early, so the mash up is a bridge to better options.

      Any tips on the Power Query combo front would be welcome, it’s an area with which we have no specific internal skills.

      Thanks

      ——————————
      Brian Wilson
      Data Architect
      ——————————
      ——————————————-

    • Rob Littler

      Member

      June 17, 2020 at 9:57 AM

      You can achieve this in a number of ways in Power Query; this is loosely what I would do:

      1. Import the two sets of data as separate queries (make sure there is something in the two sets of data that can be used to link them)
      2. From the Home ribbon select Merge Queries, Merge Queries as New
      3. Select the two imported tables and select the column or columns that provide the join. Also specify the join kind. Click OK
      4. With the merged table selected expand the column that currently contains table records (click the icon in the column header and select the columns you want to keep)
      5. Rename the merged table to something more meaningful
      6. Disable the original tables from loading into the model (right-click and uncheck Enable load)

      Hope this helps. Any questions please shout.

      Rob

      ——————————
      Rob Littler
      BI Developer
      Warwick
      ——————————
      ——————————————-

    • Brian Wilson

      Member

      June 17, 2020 at 10:04 AM

      One more update – we actually are doing PowerQuery for the pull from the sources in question.Ā  For better or worse, it’s just the append operation (which ideally, yes, we would do within a data warehouse) between the cloud and on-prem source which fails. šŸ™

      ——————————
      Brian Wilson
      Data Architect
      ——————————
      ——————————————-

    • Brian Wilson

      Member

      June 24, 2020 at 8:16 AM

      For all who were following, the issue turned out to be a lack of connectivity between the gateway and the Azure SQL DB.Ā  As noted, the append operation between the on-premises source and our beginning data warehouse worked fine on desktop, but was failing to refresh when published to the service.Ā Ā 

      Once the gateway could access the service, the append worked, as it appears the dataset is assembled on the gateway.

      ——————————
      Brian Wilson
      Data Architect
      ——————————
      ——————————————-

    Unknown Member replied 5 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Dataset refresh error on Power BI service between on-premises and Azure SQL Db source’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!