Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
wixoji9201
Frequent Visitor

Refresh Issue Web Source

Hi All - I have a report pointing to web source. I am able to refresh sucessfully on Desktop however on Service the refresh completes successfully but no data gets loaded. I am using a Enterprise Gateway for refresh. Below is the Code that is genearted by Power Query. Please suggest how can it be resolved.

 

 

let
    Source = Web.BrowserContents("https://www.bseindia.com/corporates/ann.html"),
    #"Extracted Table From Html" = Html.Table(Source, {{"Column1", ".ng-scope.ng-binding.tdcolumngrey"}, {"Column2", ".ng-binding + .ng-binding + *"}, {"Column3", ".tdcolumngrey:nth-child(1) *"}, {"Column4", "TR:nth-child(4) B:nth-child(1)"}, {"Column5", ".ng-binding:nth-child(1) + B"}, {"Column6", ".tdcolumngrey:nth-child(5) *"}, {"Column7", ".tablebluelink + *"}}, [RowSelector="TR:nth-child(4) TABLE"]),
    #"Removed Columns" = Table.RemoveColumns(#"Extracted Table From Html",{"Column2", "Column5", "Column6", "Column7"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Removed Columns",{{"Column1", type text}, {"Column3", type text}, {"Column4", type text}}),
    #"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Column1", "Category"}, {"Column3", "Type"}, {"Column4", "Date"}})
in
    #"Renamed Columns"

 

  

Thanks

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors