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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.