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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Data source for Query1 - Dynamic Data Source

I have rechecked all my data sources and I could not find Query1 to identify which datasource is causing this issue. My data source is SharePoint only and I have searched the forum for similar scenario and could not find what is the possible cause (and then how to resolve it)

 

VishS1346_0-1686752320119.png

 

Any assistance would be highly appreciated. 

 

2 REPLIES 2
Anonymous
Not applicable

Hello, Did you find how to fix this ?

Anonymous
Not applicable

This is one of the Query I use to populate the table from SharePoint - Can you pleae advise if this will work for refreshing from Power BI Service? 

 

let
Source = SharePoint.Files("https://xxxxxxxxx.sharepoint.com/sites/ext-dwh-r-transition/", [ApiVersion = 15]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Extension] = ".csv" or [Extension] = ".xlsm" or [Extension] = ".xlsx")),
#"DWH Service Transition Assessment xlsm_https://xxxxxxxxxx sharepoint com/sites/ext-dwh-r-transition/Shared Documents/General/Transition Acceptance Criteria/" = #"Filtered Rows"{[Name="DWH Service Transition Assessment .xlsm",#"Folder Path"="https://xxxxxxxx.sharepoint.com/sites/ext-dwh-r-transition/Shared Documents/General/Transition Acceptance Criteria/"]}[Content],
#"Imported Excel Workbook" = Excel.Workbook(#"DWH Service Transition Assessment xlsm_https://xxxxxxxx sharepoint com/sites/ext-dwh-r-transition/Shared Documents/General/Transition Acceptance Criteria/"),
Anylogic_Sheet = #"Imported Excel Workbook"{[Item="Anylogic",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Anylogic_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Column1", type text}, {"Ref. No.", type any}, {"Outcome Required For Live Operations", type text}, {"BRAG#(lf)Status", type text}, {"Comments", type text}, {"Completed Evidence", type text}, {"Action Owner", type text}, {"Target Date", type date}, {"Weighting", type any}, {"score", type any}, {"%", type any}}),
#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"BRAG#(lf)Status", "BRAGStatus"}}),
#"Added Custom" = Table.AddColumn(#"Renamed Columns", "ServiceName", each "Anylogic"),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "FromFile", each "STA")
in
#"Added Custom1"

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.