Forum Discussion

mjc's avatar
mjc
Frequent Visitor
9 years ago

Combining different data sources/modelling with REST data

I have a data source which uses oAuth2 authentication so is unsupported for direct use with Power BI.  I can get the data into Power BI desktop but then it is not possible to set up scheduled refresh.

I created an app that pushes the data into Power BI using the REST API but, if I do that it seems I lose the potential to model anything on top of that source or combine it with other data sources.  Am I missing something?  If not then this seems like a hugely limiting restriction on REST data - it all needs to be modelled externally.

 

I'm getting very frustrated with Power BI's handling of data sources, it seems fine for the most simple of scenarios but as soon as I look at anything even slightly more complex I hit a brick wall.  Am I alone in this?

4 Replies

Replies have been turned off for this discussion
  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi mjc,

     

    In Power BI, it supports to connect to the data source which use oAuth2 authentication, for example, SharePoint Online. So in your scenario, which kind of data source do you want to connect to in Power BI? Scheduled refresh is available in Power BI Service not in desktop.

     

    As you mentioned "I created an app that pushes the data into Power BI using the REST API", do you mean Power BI rest API or another knid of API? If we connect to the data source in Power BI Desktop, we are able to perform modeling for data.

     

    In your scenario, would you please share more information about your requirement, so we can understand it better?

     

    Best Regards,
    Qiuyun Yu

     

     

    • mjc's avatar
      mjc
      Frequent Visitor

      I have data in both freeagent and teamweek which I'd like to report on.  Neither is supported by Power BI.
      I understand that scheduled refresh is not available in Desktop, I meant that refresh worked in the desktop (and possibly on the initial publish) but scheduling fails.

       

      I push data into Power BI using the Power BI REST API, I'm not sure what other API might be available to push data into Power BI.
      This data set is only available in the service, it cannot be used in he desktop so there is no method that I can see to combine it with other data.
       
      Does that make sense?

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        mjc

         

        1. I have no idea on what are freeagent and teamweek and what kind of data you'd like to report on, however Google tells that they both provide corresponding APIs, by which you may connect to them in Power BI Desktop via "get data"->web.
        2. As far as I know, you could push data via Power BI REST API, however there's no way to model and combine the dataset with other data.
        3. Alternatively, as to push data via Power BI REST API, since you've got the freeagent and teamweek data in some approach outside Power BI, so maybe integrate the other data with the forementioned locally and push the integrated data to Power BI Service.