Forum Discussion

Deleted's avatar
Deleted
Not applicable
Aug 20, 2016

Issue powerbi getting data from SharePoint Search

For a Client of mine i am trying to create a dashboard of all documents in a sitecollection.

it was no problem with odata.feed. but problem with that was that i can not schedule it to refresh.

 

i finally used web.contents. to refresh the data this works but now i have the XML data as it does not want to read the Json of SharePoint i am in a nested table issue.

 

I worked a lot out and came down to this and here is my problem:

Table.FromRows(List.Transform(element1, each List.Transform(_, each Record.FieldValues(_{1}){0} ))),

 

the problem is that record.field values only returns 1 column instead of all my columns. does anybody have a solution so it shows all columns?

 

I am new to the Powerbi stuff so have tried a lot but syntax incorrect or did not work :-(

 

hope for some answers.

 

Kr,

 

Paul

12 Replies

  • Deleted's avatar
    Deleted
    Not applicable
    Sorry TrebGatte it is still not working just tested it a moment a go..
  • Deleted's avatar
    Deleted
    Not applicable
    sorry for my late reply i am going to check it!
    • Deleted's avatar
      Deleted
      Not applicable

      Yes did use this post as well but problem in this solution is that it uses  Source = OData.Feed(

      which you can not refresh in powerBi Pro or schedule.

       

      So needed to use web.contents to schedule refresh.

       

      Hope there is a different solution.

       

      thanks 

       

      kr,

       

      Paul

      • TrebGatte's avatar
        TrebGatte
        MVP

        I'm not sure why you can't refresh Odata as I use OData all of the time with Project Online OData feeds. with no issues refreshing. You have to reset the credentials in Powerbi.com after publishing as they get wiped on first publish.